-
Notifications
You must be signed in to change notification settings - Fork 729
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
J9 (1.8.0_275) threw an AssertionError; J9 (11.0.9) threw an ArrayIndexOutOfBoundsException; OpenJDK (8u275, 9.0.4, 11.0.9) and J9 (9.0.4) threw an VerifyError; #11685
Comments
@tajila @ChengJin01 fyi |
Will investigate to see what happened to the verifier. |
It turns out the problem here is the same issue as #11684 which was caused by the fix at #9419 which I already explained the reason in details at #11684 (comment) The new fix at ChengJin01@dbed590 works good to capture the verification error here (depending the order of the methods to be verified in the code,
Will launch personal builds and verify the internal tests to ensure there is no break in the existing test suites. |
The change is to reinforce the initial intention that only a target slot with BCV_SPECIAL_INIT is exempted from being set with top given setInitializedThisStatus() needs to check BCV_SPECIAL_INIT to flag the uninitialized_this object. Fixes: eclipse-openj9#11683,eclipse-openj9#11684,eclipse-openj9#11685 Signed-off-by: Cheng Jin <[email protected]>
The issue should be closed as the fix at #11753 was merged. |
JVM Versions
We used the following versions of J9:
The used OpenJDK versions:
Summary of the Problem
We made some changes to a class file in the JUnit project, and let several JVMs execute the corresponding JUnit test. We found that in a test case, J9 (1.8.0_275) threw an AssertionError; J9 (11.0.9) threw an ArrayIndexOutOfBoundsException; OpenJDK (8u275, 9.0.4, 11.0.9) and J9 (9.0.4) threw an VerifyError;. The output is shown as follows:
J9 (8u275):
J9 (9.0.4):
J9 (11.0.9):
OpenJDK (8u275, 9.0.4, 11.0.9)
Diagnostic files
J9-Discrepancy.zip
Steps to reproduce the behavior:
J9-Discrepancy
, run commandjava -cp sootOutput/junit-junit/:hamcrest-all-1.3.jar:junit-4.12.jar org.junit.runner.JUnitCore org.junit.experimental.categories.CategoryValidatorTest
Execution environment
The text was updated successfully, but these errors were encountered: