hotspot/test/runtime/modules/PatchModule/PatchModuleCDS.java
changeset 46790 8c4deba6a0ee
parent 46779 d80ca591ae48
child 47103 a993ec29ec75
equal deleted inserted replaced
46788:fb479838027c 46790:8c4deba6a0ee
    60                         "        System.out.println(\"I pass!\"); " +
    60                         "        System.out.println(\"I pass!\"); " +
    61                         "    } "                                    +
    61                         "    } "                                    +
    62                         "}";
    62                         "}";
    63 
    63 
    64         ClassFileInstaller.writeClassToDisk("javax/naming/spi/NamingManager",
    64         ClassFileInstaller.writeClassToDisk("javax/naming/spi/NamingManager",
    65              InMemoryJavaCompiler.compile("javax.naming.spi.NamingManager", source, "-Xmodule:java.naming"),
    65              InMemoryJavaCompiler.compile("javax.naming.spi.NamingManager", source, "--patch-module=java.naming"),
    66              System.getProperty("test.classes"));
    66              System.getProperty("test.classes"));
    67 
    67 
    68         pb = ProcessTools.createJavaProcessBuilder(
    68         pb = ProcessTools.createJavaProcessBuilder(
    69             "-XX:+UnlockDiagnosticVMOptions",
    69             "-XX:+UnlockDiagnosticVMOptions",
    70             "-XX:SharedArchiveFile=" + filename,
    70             "-XX:SharedArchiveFile=" + filename,