equal
deleted
inserted
replaced
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"); |