-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JMockit ASM error while reading class file #637
Comments
Thanks. It's the same as issue #615. |
Ah, sorry, didn't see that one, thanks. |
Is there any progress with this ArrayIndexOutOfBoundsException? |
@rliesenfeld will this ever get fixed? |
We depend on jmockit and just upgraded to Java 11. |
There is a fix #665 that should work. But you need to build it self. |
Since JaCoCo 0.8.4, JMockit cannot read instrumented class anymore.
JaCoCo updated the used ASM to 7.1 in 0.8.4 and to ASM 7.2 in 0.8.5.
With both versions, JMockit 1.46 and also 1.48 cannot read the class file anymore.
With JMockit 1.46 you get
java.lang.ArrayIndexOutOfBoundsException: Index 247 out of bounds for length 247
with this stacktrace:With JMockit 1.48 you get
java.lang.ArrayIndexOutOfBoundsException: Index 1282 out of bounds for length 740
with this stacktrace:Attached you find the class enriched with JaCoCo 0.8.3 which works and the class enriched with JaCoCo 0.8.5 which does not work.
The text was updated successfully, but these errors were encountered: