8195695: NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0'
authorthartmann
Mon, 05 Feb 2018 07:20:26 +0100
changeset 48863 ca551fa1c8cd
parent 48862 e13c8c5d9eb3
child 48864 42a2dc52a4e9
8195695: NativeLibraryTest.java fails w/ 'Expected unloaded=1 but got=0' Summary: Exclude test from Graal testing. Reviewed-by: kvn, dholmes, mchung
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