--- 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
*/