< prev index next >

test/tools/sjavac/ParallelCompilations.java

Print this page

        

*** 28,38 **** * @author sogoel * @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 ParallelCompilations */ import java.io.*; --- 28,37 ----
*** 43,54 **** public static void main(String[] args) throws Exception { new ParallelCompilations().run(); } public void run() throws Exception { - ToolBox tb = new ToolBox(); - // Generate 10 files for (int i = 0; i < 10; i++) { String content = "package foo"+ i + ";\n" + "public class Test" + i + "{\n" + " public static void main(String[] args) {}\n" + --- 42,51 ----
< prev index next >