> I don't remember exactly what happened, but it appeared to me as a safe way 
> to not make any optimizer/javac/... get angry.

I think I know what happened: that had to be a bug in javac because
any code around the assertion is still physically reachable (assert is
after all implemented as a compound if/ throw clause). As for Version
-- constants propagation at compile time can be problematic, but it is
documented well in that Lucene snippet, everything's fine, didn't have
problems understanding that particular piece. Thanks,

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to