See attached Static.java, which compiles fine with javac. The error is:
File Static.java, Line 10, Column 14: Class method "foo" cannot be invoked in non-static context
janino version is 2.0.3
reproduces bug in isolation
Logged In: YES user_id=865893
JLS2 15.12.4.1.2.1 was incorrectly considered an error. Fixed: Evaluate LHS and discard value.
Will be released in version 2.0.4.
Log in to post a comment.
reproduces bug in isolation
Logged In: YES
user_id=865893
JLS2 15.12.4.1.2.1 was incorrectly considered an error.
Fixed: Evaluate LHS and discard value.
Will be released in version 2.0.4.