> Hi Kjetil,
> 
> public static final boolean debug is a constant. This constant will evaluated at
> compile time. 

It's not a constant, it's a final.  If you set a value in the declaration, it's 
practically a constant.  If you don't, it's a final.  In this case, I don't.  A final 
can be set once, and if javac can be sure it will always be set,  once and only once 
(has anyone ever coined the term "oncee"?), it says "OK, then".  

Don't you ever use final instance variables that you set in the constructor?  Nice for 
enforcing immutability.  

> Classloading can not bring "missing" bytecode back.

Bytecode is never brought back, either.  It's removed  (not by the classloader), 
unless you say "I want to debug this thing now, so don't remove it this time around".

Kjetil

______________________________________________________________________
View this jboss-dev thread in the online forums:
http://jboss.org/forums/thread.jsp?forum=66&thread=5895

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to