< prev index next >
langtools/test/tools/jdeps/jdkinternals/ShowReplacement.java
Print this page
@@ -62,11 +62,11 @@
Path tmp = Paths.get("tmp");
assertTrue(CompilerUtils.compile(Paths.get(TEST_SRC, "src", "apple"), tmp));
assertTrue(CompilerUtils.compile(Paths.get(TEST_SRC, "src", "q"),
CLASSES_DIR,
"-cp", tmp.toString(),
- "-XaddExports:java.base/sun.security.util=ALL-UNNAMED"));
+ "--add-exports=java.base/sun.security.util=ALL-UNNAMED"));
}
@Test
public void withReplacement() {
Path file = Paths.get("q", "WithRepl.class");
< prev index next >