tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmanola...@yahoo.com
Subject JDK bug or am I crazy ?
Date Fri, 01 Dec 2000 23:10:16 GMT
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 !!! 


Costin


Mime
View raw message