Arno
I have created a bunch of test cases related to loop
processing in Janino. I also created a patch that
seems to fix all the loop related bugs that I was
running into. The patch and test files can be
found here:
http://www.modejong.com/tcljava/janino/
This patch fixes almost every case where Janino
was incorrectly generating an error in my code.
I changed Janino's behavior such that it ignores the unreachable update, but issues a warning (use "-warn:*" to turn warnings on).
I checked the patch that you proposed, but found a much simpler solution for
JANINO-54:No more "keepCompiling" and "followingStatementsAreDead".