8171070: Test ModuleNamesOrderTest.java fails
authorsundar
Wed, 14 Dec 2016 19:45:59 +0530
changeset 42690 93d0411bd67d
parent 42689 a3fcfc8b67e3
child 42691 42b035e0bda9
8171070: Test ModuleNamesOrderTest.java fails Reviewed-by: alanb, jlaskey
jdk/test/ProblemList.txt
jdk/test/tools/jlink/ModuleNamesOrderTest.java
--- a/jdk/test/ProblemList.txt	Wed Dec 14 12:24:18 2016 +0000
+++ b/jdk/test/ProblemList.txt	Wed Dec 14 19:45:59 2016 +0530
@@ -261,7 +261,6 @@
 tools/jimage/JImageListTest.java                                8169713 generic-all
 tools/jimage/JImageVerifyTest.java                              8169713 generic-all
 
-tools/jlink/ModuleNamesOrderTest.java                           8171070 generic-all
 
 tools/jlink/multireleasejar/JLinkMultiReleaseJarTest.java       8169971 windows-x64
 
--- a/jdk/test/tools/jlink/ModuleNamesOrderTest.java	Wed Dec 14 12:24:18 2016 +0000
+++ b/jdk/test/tools/jlink/ModuleNamesOrderTest.java	Wed Dec 14 19:45:59 2016 +0530
@@ -38,6 +38,12 @@
  * @bug 8168925
  * @summary MODULES property should be topologically ordered and space-separated list
  * @library ../lib
+ * @modules java.base/jdk.internal.jimage
+ *          jdk.jdeps/com.sun.tools.classfile
+ *          jdk.jlink/jdk.tools.jlink.internal
+ *          jdk.jlink/jdk.tools.jmod
+ *          jdk.jlink/jdk.tools.jimage
+ *          jdk.compiler
  * @build tests.*
  * @run main ModuleNamesOrderTest
  */