Hi again,
I was just playing with the unreachable feature
and the following code snippet is interesting:
According to the JLS the 'if(false)' is technically
speaking reachable, therefore the 'while(u<2)', which
would normally give an error since the expression is
constant (due to the
final int u), compiles
perfectly fine.
Just brainstorming if you don't mind.
Greetings,
Gian Franco
[ March 19, 2004: Message edited by: Gian Franco Casula ]