equal
deleted
inserted
replaced
66 "-copy", ".txt", |
66 "-copy", ".txt", |
67 "--server:portfile=testserver,background=false", |
67 "--server:portfile=testserver,background=false", |
68 "--log=debug" |
68 "--log=debug" |
69 }; |
69 }; |
70 |
70 |
71 int rc = new com.sun.tools.sjavac.Main().go(args, System.out, System.err); |
71 int rc = com.sun.tools.sjavac.Main.go(args); |
72 if (rc != 0) throw new RuntimeException("Error during compile!"); |
72 if (rc != 0) throw new RuntimeException("Error during compile!"); |
73 |
73 |
74 if (!Files.exists(Paths.get("dest/" + toBeIncluded))) |
74 if (!Files.exists(Paths.get("dest/" + toBeIncluded))) |
75 throw new AssertionError("File missing: " + toBeIncluded); |
75 throw new AssertionError("File missing: " + toBeIncluded); |
76 |
76 |