< prev index next >

langtools/test/tools/jdeps/jdkinternals/ShowReplacement.java

Print this page

        

*** 62,72 **** 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")); } @Test public void withReplacement() { Path file = Paths.get("q", "WithRepl.class"); --- 62,72 ---- 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(), ! "--add-exports=java.base/sun.security.util=ALL-UNNAMED")); } @Test public void withReplacement() { Path file = Paths.get("q", "WithRepl.class");
< prev index next >