langtools/test/tools/jdeps/jdkinternals/ShowReplacement.java
changeset 40308 274367a99f98
parent 39671 5a4b6a035514
child 41251 6112540cd0c1
equal deleted inserted replaced
40306:1a0fcaf3f2ed 40308:274367a99f98
    62         Path tmp = Paths.get("tmp");
    62         Path tmp = Paths.get("tmp");
    63         assertTrue(CompilerUtils.compile(Paths.get(TEST_SRC, "src", "apple"), tmp));
    63         assertTrue(CompilerUtils.compile(Paths.get(TEST_SRC, "src", "apple"), tmp));
    64         assertTrue(CompilerUtils.compile(Paths.get(TEST_SRC, "src", "q"),
    64         assertTrue(CompilerUtils.compile(Paths.get(TEST_SRC, "src", "q"),
    65                                          CLASSES_DIR,
    65                                          CLASSES_DIR,
    66                                          "-cp", tmp.toString(),
    66                                          "-cp", tmp.toString(),
    67                                          "-XaddExports:java.base/sun.security.util=ALL-UNNAMED"));
    67                                          "--add-exports=java.base/sun.security.util=ALL-UNNAMED"));
    68     }
    68     }
    69 
    69 
    70     @Test
    70     @Test
    71     public void withReplacement() {
    71     public void withReplacement() {
    72         Path file = Paths.get("q", "WithRepl.class");
    72         Path file = Paths.get("q", "WithRepl.class");