The intermittent test failure was due to the WeakReferences being unreferenced too early. Adding a Reference.reachabilityFence to the test makes it robust.
Remove from ProblemList-Xcomp.txt ------------- Commit messages: - Merge branch 'master' into 8290848-unload-too-few - 8290848: LoadLibraryUnload.java still fails with "Too few cleared WeakReferences" Changes: https://git.openjdk.org/jdk/pull/9649/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9649&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8290848 Stats: 10 lines in 2 files changed: 4 ins; 5 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/9649.diff Fetch: git fetch https://git.openjdk.org/jdk pull/9649/head:pull/9649 PR: https://git.openjdk.org/jdk/pull/9649