changeset 42690:93d0411bd67d

8171070: Test ModuleNamesOrderTest.java fails Reviewed-by: alanb, jlaskey
author sundar
date Wed, 14 Dec 2016 19:45:59 +0530
parents a3fcfc8b67e3
children 42b035e0bda9
files jdk/test/ProblemList.txt jdk/test/tools/jlink/ModuleNamesOrderTest.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
  */