Open pshipton opened 2 hours ago
Issue Number: 20368 Status: Open Recommended Components: comp:test, comp:vm, comp:gc Recommended Assignees: llxia, jasonfengj9, pshipton
@hangshao0 can you pls take a look. It's failing in the first run, so not AOT, but running with -Xshareclasses:name=test_aot
, which is different from the nightly builds where it doesn't fail.
It is likely due to https://github.com/eclipse-openj9/openj9/pull/20169/.
Before this change findJ9ClassForROMClass()
was able to change the resultClassLoader
from bootstrap class loader to testMyloader so the test passed. I believe https://github.com/eclipse-openj9/openj9/pull/20169/ changed the behaviour of findJ9ClassForROMClass()
somehow that resultClassLoader
is not updated to testMyloader. classloader name null means it still points to bootstrap class loader.
@theresa-m Could you take a look at this ?
You can verify things simply running the test with option -Xshareclasses:name=test_aot
.
I don't see the code updating the resultClassLoader
if class is found in the hashtable:
Do you think this is something we should fix in 0.48?
https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_extended.functional_s390x_linux_aot_Personal_testList_1/294
Still failing in the latest builds, on both tested versions jdk11 and jdk17. https://openj9-jenkins.osuosl.org/job/Pipeline-Build-Test-AOT/327/
StackWalkerTest_0
Last known working build
https://github.com/eclipse-openj9/openj9/compare/0985ff3f82b...16ab797349b https://github.com/eclipse-openj9/openj9-omr/compare/10fdf657a92...611c142075f