8154028: Several hotspot tests need to be updated after 8153737 (Unsupported Module)
authoramurillo
Mon, 11 Apr 2016 20:38:38 -0700
changeset 37298 8df0cc9da41e
parent 37297 d65d53a0ecc7
child 37299 db3b0d4c3bda
child 37477 0ca0b7388bb6
child 38033 996ce936543f
8154028: Several hotspot tests need to be updated after 8153737 (Unsupported Module) Reviewed-by: darcy, kvn
hotspot/test/gc/arguments/TestDisableDefaultGC.java
hotspot/test/gc/arguments/TestShrinkHeapInSteps.java
hotspot/test/gc/g1/TestRegionLivenessPrint.java
hotspot/test/runtime/Throwable/StackTraceLogging.java
hotspot/test/runtime/Unsafe/PrimitiveHostClass.java
hotspot/test/runtime/logging/SafepointCleanupTest.java
hotspot/test/runtime/logging/VerificationTest.java
--- a/hotspot/test/gc/arguments/TestDisableDefaultGC.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/gc/arguments/TestDisableDefaultGC.java	Mon Apr 11 20:38:38 2016 -0700
@@ -28,7 +28,7 @@
  * @key gc
  * @library /testlibrary
  * @requires vm.gc=="null"
- * @modules java.base/sun.misc
+ * @modules java.base/jdk.internal.misc
  *          java.management
  * @run driver TestDisableDefaultGC
  */
--- a/hotspot/test/gc/arguments/TestShrinkHeapInSteps.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/gc/arguments/TestShrinkHeapInSteps.java	Mon Apr 11 20:38:38 2016 -0700
@@ -26,7 +26,7 @@
  * @key gc
  * @summary Verify that -XX:-ShrinkHeapInSteps works properly.
  * @library /testlibrary
- * @modules java.base/sun.misc
+ * @modules java.base/jdk.internal.misc
  *          java.management
  * @build TestMaxMinHeapFreeRatioFlags TestShrinkHeapInSteps
  * @run driver/timeout=240 TestShrinkHeapInSteps
--- a/hotspot/test/gc/g1/TestRegionLivenessPrint.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/gc/g1/TestRegionLivenessPrint.java	Mon Apr 11 20:38:38 2016 -0700
@@ -28,7 +28,7 @@
  * @summary Make sure that G1 does not assert when printing region liveness data on a humongous continues region.
  * @key gc
  * @library /testlibrary /test/lib
- * @modules java.base/sun.misc
+ * @modules java.base/jdk.internal.misc
  * @build TestRegionLivenessPrint
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
--- a/hotspot/test/runtime/Throwable/StackTraceLogging.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/runtime/Throwable/StackTraceLogging.java	Mon Apr 11 20:38:38 2016 -0700
@@ -26,7 +26,7 @@
  * @bug 8150778
  * @summary check stacktrace logging
  * @library /testlibrary
- * @modules java.base/sun.misc
+ * @modules java.base/jdk.internal.misc
  *          java.management
  * @build jdk.test.lib.OutputAnalyzer jdk.test.lib.ProcessTools
  * @compile TestThrowable.java
--- a/hotspot/test/runtime/Unsafe/PrimitiveHostClass.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/runtime/Unsafe/PrimitiveHostClass.java	Mon Apr 11 20:38:38 2016 -0700
@@ -33,7 +33,7 @@
  * @summary Throws IllegalArgumentException if host class is a primitive class.
  * @library /testlibrary
  * @modules java.base/jdk.internal.org.objectweb.asm
- *          java.base/sun.misc
+ *          java.base/jdk.internal.misc
  * @compile -XDignore.symbol.file PrimitiveHostClass.java
  * @run main/othervm PrimitiveHostClass
  */
--- a/hotspot/test/runtime/logging/SafepointCleanupTest.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/runtime/logging/SafepointCleanupTest.java	Mon Apr 11 20:38:38 2016 -0700
@@ -26,7 +26,7 @@
  * @bug 8149991
  * @summary safepointcleanup=info should have output from the code
  * @library /testlibrary
- * @modules java.base/sun.misc
+ * @modules java.base/jdk.internal.misc
  *          java.management
  * @build jdk.test.lib.OutputAnalyzer jdk.test.lib.ProcessTools
  * @run driver SafepointCleanupTest
--- a/hotspot/test/runtime/logging/VerificationTest.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/hotspot/test/runtime/logging/VerificationTest.java	Mon Apr 11 20:38:38 2016 -0700
@@ -26,7 +26,7 @@
  * @bug 8150083
  * @summary verification=info output should have output from the code
  * @library /testlibrary
- * @modules java.base/sun.misc
+ * @modules java.base/jdk.internal.misc
  *          java.management
  * @build jdk.test.lib.OutputAnalyzer jdk.test.lib.ProcessTools
  * @run driver VerificationTest