8177383: Wrong @modules in java/io/FilePermission/ReadFileOnPath.java

Reviewed-by: alanb
This commit is contained in:
Amy Lu 2017-03-22 19:40:20 +08:00
parent 6716b5f631
commit 7e65c94ef9
5 changed files with 5 additions and 9 deletions
jdk/test
java
io/FilePermission
lang
Package/annotation
reflect/PublicMethods
net/spi/URLStreamHandlerProvider
sun/net/www/protocol/jar

@ -26,7 +26,7 @@
* @bug 8164705 * @bug 8164705
* @library /lib/testlibrary /test/lib * @library /lib/testlibrary /test/lib
* @modules java.base/jdk.internal.misc * @modules java.base/jdk.internal.misc
* java.compiler * jdk.compiler
* @run main ReadFileOnPath * @run main ReadFileOnPath
* @summary Still able to read file on the same path * @summary Still able to read file on the same path
*/ */

@ -25,8 +25,7 @@
* @test * @test
* @summary Basic test of package-info in named module and duplicate * @summary Basic test of package-info in named module and duplicate
* package-info in unnamed module * package-info in unnamed module
* @modules java.compiler * @modules java.desktop
* java.desktop
* jdk.compiler * jdk.compiler
* jdk.xml.dom * jdk.xml.dom
* @build jdk.xml.dom/org.w3c.dom.css.Fake * @build jdk.xml.dom/org.w3c.dom.css.Fake

@ -57,8 +57,7 @@ import static java.util.stream.Collectors.toMap;
/* /*
* @test * @test
* @bug 8062389 * @bug 8062389
* @modules java.compiler * @modules jdk.compiler
* jdk.compiler
* jdk.zipfs * jdk.zipfs
* @summary Nearly exhaustive test of Class.getMethod() and Class.getMethods() * @summary Nearly exhaustive test of Class.getMethod() and Class.getMethods()
* @run main PublicMethodsTest * @run main PublicMethodsTest

@ -53,8 +53,7 @@ import static java.util.Arrays.asList;
/* /*
* @test * @test
* @bug 8064924 * @bug 8064924
* @modules java.compiler * @modules jdk.compiler
* jdk.compiler
* @summary Basic test for URLStreamHandlerProvider * @summary Basic test for URLStreamHandlerProvider
* @library /lib/testlibrary * @library /lib/testlibrary
* @build jdk.testlibrary.FileUtils jdk.testlibrary.JDKToolFinder * @build jdk.testlibrary.FileUtils jdk.testlibrary.JDKToolFinder

@ -26,8 +26,7 @@
* @bug 8132734 8144062 8159785 * @bug 8132734 8144062 8159785
* @summary Test that URL connections to multi-release jars can be runtime versioned * @summary Test that URL connections to multi-release jars can be runtime versioned
* @library /lib/testlibrary/java/util/jar * @library /lib/testlibrary/java/util/jar
* @modules java.compiler * @modules jdk.compiler
* jdk.compiler
* jdk.httpserver * jdk.httpserver
* jdk.jartool * jdk.jartool
* @build Compiler JarBuilder CreateMultiReleaseTestJars SimpleHttpServer * @build Compiler JarBuilder CreateMultiReleaseTestJars SimpleHttpServer