mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8177741: Fix hotspot tests to use --patch-module instead of -Xmodule
Change InMemoryJavaCompiler.compile() to accept --patch-module instead of -Xmodule, and then change appropriate tests. Reviewed-by: coleenp, gtriantafill
This commit is contained in:
parent
7009b948bb
commit
e2b0679319
9 changed files with 20 additions and 20 deletions
|
@ -62,7 +62,7 @@ public class PatchModuleCDS {
|
|||
"}";
|
||||
|
||||
ClassFileInstaller.writeClassToDisk("javax/naming/spi/NamingManager",
|
||||
InMemoryJavaCompiler.compile("javax.naming.spi.NamingManager", source, "-Xmodule:java.naming"),
|
||||
InMemoryJavaCompiler.compile("javax.naming.spi.NamingManager", source, "--patch-module=java.naming"),
|
||||
System.getProperty("test.classes"));
|
||||
|
||||
pb = ProcessTools.createJavaProcessBuilder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue