8178342: Missing @modules in jdk/jdk/nio/zipfs
authorshurailine
Thu, 08 Feb 2018 06:16:49 -0800
changeset 48768 ac007e4bbf4b
parent 48763 3d17a524da95
child 48769 266539dc2776
8178342: Missing @modules in jdk/jdk/nio/zipfs Reviewed-by: mchung
test/jdk/jdk/nio/zipfs/Basic.java
test/jdk/jdk/nio/zipfs/MultiReleaseJarTest.java
test/jdk/jdk/nio/zipfs/PathOps.java
test/jdk/jdk/nio/zipfs/ZFSTests.java
test/jdk/jdk/nio/zipfs/ZeroDate.java
test/jdk/jdk/nio/zipfs/ZipFSTester.java
--- a/test/jdk/jdk/nio/zipfs/Basic.java	Thu Feb 08 18:45:30 2018 +0100
+++ b/test/jdk/jdk/nio/zipfs/Basic.java	Thu Feb 08 06:16:49 2018 -0800
@@ -46,9 +46,9 @@
  * @bug 8038500 8040059 8150366 8150496 8147539
  * @summary Basic test for zip provider
  *
+ * @modules jdk.zipfs
  * @run main Basic
  * @run main/othervm/java.security.policy=test.policy Basic
- * @modules jdk.zipfs
  */
 
 public class Basic {
--- a/test/jdk/jdk/nio/zipfs/MultiReleaseJarTest.java	Thu Feb 08 18:45:30 2018 +0100
+++ b/test/jdk/jdk/nio/zipfs/MultiReleaseJarTest.java	Thu Feb 08 06:16:49 2018 -0800
@@ -26,11 +26,11 @@
  * @bug 8144355 8144062 8176709 8194070 8193802
  * @summary Test aliasing additions to ZipFileSystem for multi-release jar files
  * @library /lib/testlibrary/java/util/jar
- * @build Compiler JarBuilder CreateMultiReleaseTestJars
- * @run testng MultiReleaseJarTest
  * @modules jdk.compiler
  *          jdk.jartool
  *          jdk.zipfs
+ * @build Compiler JarBuilder CreateMultiReleaseTestJars
+ * @run testng MultiReleaseJarTest
  */
 
 import java.io.IOException;
--- a/test/jdk/jdk/nio/zipfs/PathOps.java	Thu Feb 08 18:45:30 2018 +0100
+++ b/test/jdk/jdk/nio/zipfs/PathOps.java	Thu Feb 08 06:16:49 2018 -0800
@@ -36,9 +36,9 @@
  * @bug 8038500 8040059 8139956 8146754 8172921 8186142
  * @summary Tests path operations for zip provider.
  *
+ * @modules jdk.zipfs
  * @run main PathOps
  * @run main/othervm/java.security.policy=test.policy PathOps
- * @modules jdk.zipfs
  */
 
 public class PathOps {
--- a/test/jdk/jdk/nio/zipfs/ZFSTests.java	Thu Feb 08 18:45:30 2018 +0100
+++ b/test/jdk/jdk/nio/zipfs/ZFSTests.java	Thu Feb 08 06:16:49 2018 -0800
@@ -25,9 +25,9 @@
  * @bug 7156873 8040059 8028480 8034773 8153248 8061777
  * @summary ZipFileSystem regression tests
  *
+ * @modules jdk.zipfs
  * @run main ZFSTests
  * @run main/othervm/java.security.policy=test.policy ZFSTests
- * @modules jdk.zipfs
  */
 
 
--- a/test/jdk/jdk/nio/zipfs/ZeroDate.java	Thu Feb 08 18:45:30 2018 +0100
+++ b/test/jdk/jdk/nio/zipfs/ZeroDate.java	Thu Feb 08 06:16:49 2018 -0800
@@ -49,6 +49,7 @@
  * @summary JDK 9 rejects zip files where the modified day or month is 0
  *          or otherwise represent an invalid date, such as 1980-02-30 24:60:60
  * @author Liam Miller-Cushon
+ * @modules jdk.zipfs
  */
 public class ZeroDate {
 
--- a/test/jdk/jdk/nio/zipfs/ZipFSTester.java	Thu Feb 08 18:45:30 2018 +0100
+++ b/test/jdk/jdk/nio/zipfs/ZipFSTester.java	Thu Feb 08 06:16:49 2018 -0800
@@ -72,9 +72,9 @@
  *      7157656 8002390 7012868 7012856 8015728 8038500 8040059 8069211
  *      8131067
  * @summary Test Zip filesystem provider
+ * @modules jdk.zipfs
  * @run main ZipFSTester
  * @run main/othervm/java.security.policy=test.policy ZipFSTester
- * @modules jdk.zipfs
  */
 
 public class ZipFSTester {