8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java
authoramlu
Wed, 22 Mar 2017 19:40:20 +0800
changeset 44358 d1d1a888d492
parent 44357 e0fbf5f9da3c
child 44360 a83651664fa3
8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java Reviewed-by: alanb
jdk/test/java/io/FilePermission/ReadFileOnPath.java
jdk/test/java/lang/Package/annotation/PackageInfoTest.java
jdk/test/java/lang/reflect/PublicMethods/PublicMethodsTest.java
jdk/test/java/net/spi/URLStreamHandlerProvider/Basic.java
jdk/test/sun/net/www/protocol/jar/MultiReleaseJarURLConnection.java
--- a/jdk/test/java/io/FilePermission/ReadFileOnPath.java	Wed Mar 22 10:55:48 2017 +0300
+++ b/jdk/test/java/io/FilePermission/ReadFileOnPath.java	Wed Mar 22 19:40:20 2017 +0800
@@ -26,7 +26,7 @@
  * @bug 8164705
  * @library /lib/testlibrary /test/lib
  * @modules java.base/jdk.internal.misc
- *          java.compiler
+ *          jdk.compiler
  * @run main ReadFileOnPath
  * @summary Still able to read file on the same path
  */
--- a/jdk/test/java/lang/Package/annotation/PackageInfoTest.java	Wed Mar 22 10:55:48 2017 +0300
+++ b/jdk/test/java/lang/Package/annotation/PackageInfoTest.java	Wed Mar 22 19:40:20 2017 +0800
@@ -25,8 +25,7 @@
  * @test
  * @summary Basic test of package-info in named module and duplicate
  *          package-info in unnamed module
- * @modules java.compiler
- *          java.desktop
+ * @modules java.desktop
  *          jdk.compiler
  *          jdk.xml.dom
  * @build jdk.xml.dom/org.w3c.dom.css.Fake
--- a/jdk/test/java/lang/reflect/PublicMethods/PublicMethodsTest.java	Wed Mar 22 10:55:48 2017 +0300
+++ b/jdk/test/java/lang/reflect/PublicMethods/PublicMethodsTest.java	Wed Mar 22 19:40:20 2017 +0800
@@ -57,8 +57,7 @@
 /*
  * @test
  * @bug 8062389
- * @modules java.compiler
- *          jdk.compiler
+ * @modules jdk.compiler
  *          jdk.zipfs
  * @summary Nearly exhaustive test of Class.getMethod() and Class.getMethods()
  * @run main PublicMethodsTest
--- a/jdk/test/java/net/spi/URLStreamHandlerProvider/Basic.java	Wed Mar 22 10:55:48 2017 +0300
+++ b/jdk/test/java/net/spi/URLStreamHandlerProvider/Basic.java	Wed Mar 22 19:40:20 2017 +0800
@@ -53,8 +53,7 @@
 /*
  * @test
  * @bug 8064924
- * @modules java.compiler
- *          jdk.compiler
+ * @modules jdk.compiler
  * @summary Basic test for URLStreamHandlerProvider
  * @library /lib/testlibrary
  * @build jdk.testlibrary.FileUtils jdk.testlibrary.JDKToolFinder
--- a/jdk/test/sun/net/www/protocol/jar/MultiReleaseJarURLConnection.java	Wed Mar 22 10:55:48 2017 +0300
+++ b/jdk/test/sun/net/www/protocol/jar/MultiReleaseJarURLConnection.java	Wed Mar 22 19:40:20 2017 +0800
@@ -26,8 +26,7 @@
  * @bug 8132734 8144062 8159785
  * @summary Test that URL connections to multi-release jars can be runtime versioned
  * @library /lib/testlibrary/java/util/jar
- * @modules java.compiler
- *          jdk.compiler
+ * @modules jdk.compiler
  *          jdk.httpserver
  *          jdk.jartool
  * @build Compiler JarBuilder CreateMultiReleaseTestJars SimpleHttpServer