8054500: Refactor sjavac Main class into ClientMain and ServerMain

Restructured Main into ClientMain and ServerMain

Reviewed-by: jfranck
This commit is contained in:
Andreas Lundblad 2014-08-28 17:38:40 +02:00
parent 5f800435e3
commit 43eb10bcb8
8 changed files with 406 additions and 437 deletions

View file

@ -68,7 +68,7 @@ public class ExclPattern {
"--log=debug"
};
int rc = new com.sun.tools.sjavac.Main().go(args, System.out, System.err);
int rc = com.sun.tools.sjavac.Main.go(args);
if (rc != 0) throw new RuntimeException("Error during compile!");
if (!Files.exists(Paths.get("dest/" + toBeIncluded)))