hotspot/test/runtime/modules/PatchModule/PatchModuleCDS.java
changeset 47103 a993ec29ec75
parent 46790 8c4deba6a0ee
--- a/hotspot/test/runtime/modules/PatchModule/PatchModuleCDS.java	Wed Aug 30 19:18:22 2017 -0400
+++ b/hotspot/test/runtime/modules/PatchModule/PatchModuleCDS.java	Mon Aug 28 15:34:04 2017 -0700
@@ -69,7 +69,7 @@
             "-XX:+UnlockDiagnosticVMOptions",
             "-XX:SharedArchiveFile=" + filename,
             "-Xshare:dump",
-            "--patch-module=java.base=" + System.getProperty("test.classes"),
+            "--patch-module=java.naming=" + System.getProperty("test.classes"),
             "-Xlog:class+path=info",
             "-version");
         new OutputAnalyzer(pb.start())