[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> I spent many hours trying to fix a bug in tomcat3.3. I'm now down to
> DependManager, and I really have no idea what's happening.
> 
> There is a method:
> 
> boolean shouldReload() {}
> 
> All return statements are:
> "return expired;", where expired is an object property ( no local
> variables - the class doesn't extend and it's not extended ).
> 
> I do a println(expired) just before every "return expired;" and it prints
> "false".
> 
> I do a println(expired) after the method returns - it's still "false".
> 
> The only problem is that the returned value is "true" - even if the
> function returns a value that is false before and after the return
> statement. ( the variable is final, and there is only one place that
> sets it true, and that point is never reached ).
> 
> This doesn't happen if I use IBM JDK1.3 - only with Blackdown 1.2.2 ( FCS,
> BETA ).
> 
> VERY, VERY SCARRY !!!

Does disabling the JIT help any? ( -Djava.compiler= )

Louis
-- 

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Louis Tribble                                         [EMAIL PROTECTED]
Metamata, Inc.                                   http://www.metamata.com
Tools for serious Java developers.                       +1 510 796 0915
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Reply via email to