# HG changeset patch # User thartmann # Date 1517811626 -3600 # Node ID ca551fa1c8cd0c518792afaf22916ef83a243443 # Parent e13c8c5d9eb34e5ec8555880626fafe888e1f97c 8195695: NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0' Summary: Exclude test from Graal testing. Reviewed-by: kvn, dholmes, mchung diff -r e13c8c5d9eb3 -r ca551fa1c8cd test/jdk/java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java --- a/test/jdk/java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java Mon Feb 05 07:14:24 2018 +0100 +++ b/test/jdk/java/lang/ClassLoader/nativeLibrary/NativeLibraryTest.java Mon Feb 05 07:20:26 2018 +0100 @@ -24,6 +24,7 @@ /* * @test * @bug 8164512 8191360 + * @requires vm.compMode != "Xcomp" * @summary verify if the native library is unloaded when the class loader is GC'ed * @build p.Test * @run main/othervm/native -Xcheck:jni NativeLibraryTest