changeset 10811:f1a3e7786b3c

8154028: Several hotspot tests need to be updated after 8153737 (Unsupported Module) Reviewed-by: darcy, kvn
author amurillo
date Mon, 11 Apr 2016 20:38:38 -0700
parents 7bc36b9ff1e7
children aa932d6404c1 aee2a6f1e1b3 89883d363528
files test/gc/arguments/TestDisableDefaultGC.java test/gc/arguments/TestShrinkHeapInSteps.java test/gc/g1/TestRegionLivenessPrint.java test/runtime/Throwable/StackTraceLogging.java test/runtime/Unsafe/PrimitiveHostClass.java test/runtime/logging/SafepointCleanupTest.java test/runtime/logging/VerificationTest.java
diffstat 7 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/gc/arguments/TestDisableDefaultGC.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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/test/gc/arguments/TestShrinkHeapInSteps.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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/test/gc/g1/TestRegionLivenessPrint.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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/test/runtime/Throwable/StackTraceLogging.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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/test/runtime/Unsafe/PrimitiveHostClass.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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/test/runtime/logging/SafepointCleanupTest.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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/test/runtime/logging/VerificationTest.java	Mon Apr 11 14:21:25 2016 -0700
+++ b/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