dev@glassfish.java.net

Re: How many folks are using static analysis tools...

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Mon, 02 Oct 2006 08:25:21 -0700

Bill,

Yes, that is correct. And there were a few cases (arrays) that
simply cannot be eliminated, so I created
com.sun.appserv.management.util.TypeCast to localize the warning
messages (1 or 2 now).

Lloyd

On Sep 30, 2006, at 12:21 AM, Bill Shannon wrote:

> Lloyd L Chambers wrote:
>> Bill,
>> The warnings were from compiling code (using JDK 1.5) that did
>> not use generics (since they did not exist in JDK 1.4) eg:
>> Set s = getASet();
>
> So this was a transition problem where you introduced generics but
> FindBugs complained about previously compiled code that didn't use
> generics? I understand. Certainly something to keep in mind when
> adding generics to existings APIs.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>