-
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
defineHiddenClass/BasicTest.java fails on JDK15 with multiple errors #10345
Comments
Known issue. The hidden class implementation is not complete yet. |
Linking this to #9328 |
PR created to exclude the tests until the JEP is complete. |
Adding other hidden class failures: https://ci.eclipse.org/openj9/job/Test_openjdk15_j9_sanity.openjdk_ppc64_aix_Nightly/26/consoleFull
|
Created adoptium/aqa-tests#1942 to un-exclude the testing. |
LambdaNestedInnerTest.java is problematic. There is a test case in that file saying it is testing an exception to be thrown, but I don't see the code checking for that exception. RI does not throw an exception for that case either. |
@pshipton - based on @hangshao0 comment above, do you still want to proceed with adoptium/aqa-tests#1942 or adjust it to keep LambdaNestedInnerTest excluded? |
@smlambert I think we should still proceed with adoptium/aqa-tests#1942. We can confirm if LambdaNestedInnerTest.java passes on Hotspot or not, it looks to me like it does https://ci.adoptopenjdk.net/job/Test_openjdk15_hs_sanity.openjdk_x86-64_mac/26/testReport/java_lang_invoke_defineHiddenClass_LambdaNestedInnerTest/ Even if the test is problematic for OpenJ9 and we decide to exclude it, it can be excluded via another PR which details the reason for exclusion. |
PR to exclude BasicTest and TypeDescriptorTest: |
@hangshao0 What is the status of this issue? |
The only failure left in our build is LambdaNestedInnerTest, which is fixed by #10531. Once it is merged, we can either
|
Thanks for the update @hangshao0. Just to clarify, the issue with |
|
Return the host class as nesthost if a hidden class cannot find its nest host. Do not rethrown any exception if a class cannot find its nesthost in java 15 and up. issue eclipse-openj9#10345 Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
Return the host class as nesthost if a hidden class cannot find its nest host. Do not rethrown any exception if a class cannot find its nesthost in java 15 and up. issue eclipse-openj9#10345 Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
Moving this out of the 0.22.0 release and into 0.23.0 as I believe the last change for it went into 0.23. @tajila can you confirm this is completely fixed now? |
Yes, I've confirmed that those tests are passing, https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/3884/testReport/ |
Test excludes are being removed, adoptium/aqa-tests#1960 |
There are still tests excluded under this issue on jdk16, which is out of support, but not on subsequent versions. |
Test only seems to fail on OpenJ9 JDK15 builds, and has done since we started testing them at adopt.
Including several issues here, as I'm presuming they're connected in some way.
Try looking into the first issue, and if it doesn't solve the rest, let me know and I'll raise more.
Failure link
Test_openjdk15_j9_sanity.openjdk_aarch64_linux #6/jdk_lang_j9_0
Test_openjdk15_j9_sanity.openjdk_x86-64_mac #5/jdk_lang_j9_0
Test_openjdk15_j9_sanity.openjdk_x86-64_windows_xl #5/jdk_lang_j9_0
(All platforms checked saw this bug, but only on j9)
Optional info
Failure output (captured from console output)
and
and
etc.
The text was updated successfully, but these errors were encountered: