Janino Compiler

CCN.patch
Janino patch to correctly implement can compile normally semantics for "do", "while" and "for" loops. Patch created from Janino CVS on 5/10/06.

loop.zip
Java compiler test cases covering "do", "while", and "for" loops. These test check for proper handling of "break", "continue", and "return" in loop bodies. These test work with javac. Janino will compile these tests correctly after the CCN.patch has been applied. Tests in the fail/ subdirectory cheeck that a compile time error is generated. Tests in other subdirectories should be run with the java executable to ensure that correct code is being generated.

The only big change in this patch is to have Janino not generate an error in a loop that has an update statement that seems to be unreachable. Javac does not generate an error and the JLS is unclear about this issue.
http://groups.yahoo.com/group/java-spec-report/message/636
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5941