langtools/test/tools/sjavac/ExclPattern.java
changeset 26271 97603426a4ce
parent 25603 d5fa4eab2d26
child 30730 d3ce7619db2c
equal deleted inserted replaced
26270:a3635e6d3d78 26271:97603426a4ce
    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