< prev index next >

test/tools/sjavac/CompileWithInvisibleSources.java

Print this page

        

*** 29,39 **** * @author sogoel (rewrite) * @library /tools/lib * @modules jdk.compiler/com.sun.tools.javac.api * jdk.compiler/com.sun.tools.javac.main * jdk.compiler/com.sun.tools.sjavac - * jdk.jdeps/com.sun.tools.javap * @build Wrapper toolbox.ToolBox * @run main Wrapper CompileWithInvisibleSources */ import java.util.*; --- 29,38 ----
*** 51,61 **** void test() throws Exception { Files.createDirectories(BIN); Map<String,Long> previous_bin_state = collectState(BIN); - ToolBox tb = new ToolBox(); tb.writeFile(GENSRC.resolve("alfa/omega/A.java"), "package alfa.omega; import beta.B; import gamma.C; public class A { B b; C c; }"); tb.writeFile(GENSRC2.resolve("beta/B.java"), "package beta; public class B { broken"); tb.writeFile(GENSRC2.resolve("gamma/C.java"), --- 50,59 ----
< prev index next >