Skip to content
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

OpenJDK java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnloadTest - Not all WeakReferences cleared #19960

Open
pshipton opened this issue Aug 2, 2024 · 0 comments

Comments

@pshipton
Copy link
Member

pshipton commented Aug 2, 2024

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_s390x_linux_OMR_testList_0/142
jdk_lang_0
java/lang/ClassLoader/loadLibraryUnload/LoadLibraryUnloadTest.java

17:30:27  Output and diagnostic info for process 48828 was saved into 'pid-48828-output.log'
17:30:27  Native library loaded.
17:30:27  Native library loaded from Class1.
17:30:27  Native library loaded from Class1.
17:30:27  GlobalRef created
17:30:27  GlobalRef deleted
17:30:27  Native library unloaded.
17:30:27  Exception in thread "main" java.lang.RuntimeException: Not all WeakReferences cleared: expected true, was false
17:30:27  	at jdk.test.lib.Asserts.fail(Asserts.java:634)
17:30:27  	at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
17:30:27  	at LoadLibraryUnload.main(LoadLibraryUnload.java:174)
17:30:27  
17:30:27  Native library loaded.
17:30:27  Native library loaded from Class1.
17:30:27  Native library loaded from Class1.
17:30:27  GlobalRef created
17:30:27  GlobalRef deleted
17:30:27  Native library unloaded.
17:30:27  Exception in thread "main" java.lang.RuntimeException: Not all WeakReferences cleared: expected true, was false
17:30:27  	at jdk.test.lib.Asserts.fail(Asserts.java:634)
17:30:27  	at jdk.test.lib.Asserts.assertTrue(Asserts.java:486)
17:30:27  	at LoadLibraryUnload.main(LoadLibraryUnload.java:174)
17:30:27  Native library loaded in 1 threads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant