diff --git a/jdk/test/tools/jlink/plugins/InstalledModuleDescriptors/UserModuleTest.java b/jdk/test/tools/jlink/plugins/InstalledModuleDescriptors/UserModuleTest.java index f5bbe62bcb3..e197acfa50c 100644 --- a/jdk/test/tools/jlink/plugins/InstalledModuleDescriptors/UserModuleTest.java +++ b/jdk/test/tools/jlink/plugins/InstalledModuleDescriptors/UserModuleTest.java @@ -119,7 +119,7 @@ public class UserModuleTest { Path java = IMAGE.resolve("bin").resolve("java"); assertTrue(executeProcess(java.toString(), - "-Djdk.installed.modules.disable", + "-Djdk.system.module.finder.disabledFastPath", "-m", "m1/p1.Main") .outputTo(System.out) .errorTo(System.out)