-
Notifications
You must be signed in to change notification settings - Fork 712
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
[JDK11 OJDK-MH] InternalError: found BindCaller, expected InjectedInvoker #14553
Comments
Note: the failures reported above only occur when running with the JTReg testing infrastructure This suggests that the failures reported above are occurring from the infrastructure code. The failures indicated below are from running the each of these reported tests directly with method (2), and there are only two failing tests in this case. Test: Produces:
Test: Produces:
Edit: new issue w.r.t. this comment #18245 |
This patch fixes both eclipse-openj9#14553 and eclipse-openj9#18245. The visitAnnotation for Hidden seems to have unwanted side effects when OJDK MHs are enabled and invokeWithArguments is used in JDK11. The behaviour when removing the visitAnnotation matches the behaviour of the RI and the implementation for JDK17. Closes: eclipse-openj9/openj9#14553 eclipse-openj9/openj9#18245 Signed-off-by: Nathan Henderson <nathan.henderson@ibm.com>
This patch fixes both eclipse-openj9/openj9#14553 and eclipse-openj9/openj9#18245. The visitAnnotation for Hidden seems to have unwanted side effects when OJDK MHs are enabled and invokeWithArguments is used in JDK11. The behaviour when removing the visitAnnotation matches the behaviour of the RI and the implementation for JDK17. Closes: eclipse-openj9/openj9#14553 eclipse-openj9/openj9#18245 Signed-off-by: Nathan Henderson <nathan.henderson@ibm.com>
This patch fixes both eclipse-openj9/openj9#14553 and eclipse-openj9/openj9#18245. The visitAnnotation for Hidden seems to have unwanted side effects when OJDK MHs are enabled and invokeWithArguments is used in JDK11. The behaviour when removing the visitAnnotation matches the behaviour of the RI and the implementation for JDK17. Closes: eclipse-openj9/openj9#14553 eclipse-openj9/openj9#18245 Signed-off-by: Nathan Henderson <nathan.henderson@ibm.com>
This patch fixes both eclipse-openj9/openj9#14553 and eclipse-openj9/openj9#18245. The visitAnnotation for Hidden seems to have unwanted side effects when OJDK MHs are enabled and invokeWithArguments is used in JDK11. The behaviour when removing the visitAnnotation matches the behaviour of the RI and the implementation for JDK17. Closes: eclipse-openj9/openj9#14553 eclipse-openj9/openj9#18245 Signed-off-by: Nathan Henderson <nathan.henderson@ibm.com>
This patch fixes both eclipse-openj9#14553 and eclipse-openj9#18245. When OJDK MHs are enabled for JDK11, the Hidden attribute for InjectedInvoker classes caused getStackClass and getCallerClass to return the incorrect class. The solution is to not iterate over InjectedInvoker classes despite them having the J9AccMethodFrameIteratorSkip modifier set due to the Hidden attribute. Closes: eclipse-openj9#14553 eclipse-openj9#18245 Signed-off-by: Nathan Henderson <nathan.henderson@ibm.com>
This patch fixes both eclipse-openj9#14553 and eclipse-openj9#18245. When OJDK MHs are enabled for JDK11, the Hidden attribute for InjectedInvoker classes caused getStackClass and getCallerClass to return the incorrect class. The solution is to not iterate over InjectedInvoker classes despite them having the J9AccMethodFrameIteratorSkip modifier set due to the Hidden attribute. Closes: eclipse-openj9#14553 eclipse-openj9#18245 Signed-off-by: Nathan Henderson <nathan.henderson@ibm.com>
The below failure(s) is(are) only seen when OJDK MHs are enabled in OpenJ9.
Errors
Failing Test Targets
BUILD_LIST=openjdk
java/lang/invoke/7196190/GetUnsafeTest.java
java/lang/invoke/7196190/ClassForNameTest.java
jdk/lambda/MethodReferenceTestCallerSensitive.java
java/lang/invoke/MethodHandleConstants.java
java/lang/StackWalker/CallerSensitiveMethod/Main.java
How-to Run Tests?
https://github.com/eclipse/openj9/blob/master/test/docs/OpenJ9TestUserGuide.md
Steps to build an OpenJ9 JDK11 with OJDK MHs enabled
Refer to #14540.
The text was updated successfully, but these errors were encountered: