Closed cvogt729 closed 1 year ago
Seems like I fixed this one together with #178. Please test!
This issue is not yet resolved. I should mention that the ClassFormatError
occurs at runtime, not compile-time. So the compilation test does not demonstrate the problem.
Hey Cameron,
you are right; the #178 fix did not fix this one.
I looked into it and implemented a fix and a regression test case. Please test.
This issue is resolved. Thank you!
I'm using Janino 3.1.7 with
SimpleCompiler
to compile and execute the following code:When invoking
SimpleCompiler
in Windows PowerShell with OpenJDK 11.0.14.1:I get the following error:
The error goes away when you replace
0
with0.0
. While investigating, I found a forum that mentions a similar bug 7 years ago, but I guess it was never brought to anyone's attention: https://fractalsoftworks.com/forum/index.php?topic=9472.0