8153928: test/lib/share/classes/jdk/test/lib/Utils.java introduced dependency to java.base/jdk.internal.misc
authoramlu
Mon, 11 Apr 2016 15:14:04 +0800
changeset 36970 ae857479b5a8
parent 36969 3176f6c55af1
child 36971 e4a0ec0ca03c
8153928: test/lib/share/classes/jdk/test/lib/Utils.java introduced dependency to java.base/jdk.internal.misc Reviewed-by: alanb, amlu Contributed-by: felix.yang@oracle.com
jdk/test/jdk/internal/ref/Cleaner/ExitOnThrow.java
jdk/test/sun/misc/SunMiscSignalTest.java
--- a/jdk/test/jdk/internal/ref/Cleaner/ExitOnThrow.java	Mon Apr 11 08:00:21 2016 +0100
+++ b/jdk/test/jdk/internal/ref/Cleaner/ExitOnThrow.java	Mon Apr 11 15:14:04 2016 +0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -26,6 +26,7 @@
  * @bug 4954921 8009259
  * @library /test/lib/share/classes
  * @modules java.base/jdk.internal.ref
+ *          java.base/jdk.internal.misc
  * @build jdk.test.lib.*
  * @build jdk.test.lib.process.*
  * @run main ExitOnThrow
--- a/jdk/test/sun/misc/SunMiscSignalTest.java	Mon Apr 11 08:00:21 2016 +0100
+++ b/jdk/test/sun/misc/SunMiscSignalTest.java	Mon Apr 11 15:14:04 2016 +0800
@@ -45,6 +45,7 @@
  * @test
  * @library /test/lib/share/classes
  * @modules jdk.unsupported
+ *          java.base/jdk.internal.misc
  * @build jdk.test.lib.Platform jdk.test.lib.Utils
  * @run testng/othervm -Xrs -DXrs=true SunMiscSignalTest
  * @run testng/othervm SunMiscSignalTest