equal
deleted
inserted
replaced
62 static int progress = 0; |
62 static int progress = 0; |
63 static JavaCompiler tool; |
63 static JavaCompiler tool; |
64 static JavacTask javac; |
64 static JavacTask javac; |
65 static Elements elements; |
65 static Elements elements; |
66 |
66 |
67 static List<String> addmods_ALL_SYSTEM = Arrays.asList("-addmods", "ALL-SYSTEM"); |
67 static List<String> addmods_ALL_SYSTEM = Arrays.asList("--add-modules", "ALL-SYSTEM"); |
68 |
68 |
69 public static void main(String[] args) throws Exception { |
69 public static void main(String[] args) throws Exception { |
70 JavaCompiler tool = ToolProvider.getSystemJavaCompiler(); |
70 JavaCompiler tool = ToolProvider.getSystemJavaCompiler(); |
71 try (StandardJavaFileManager fm = tool.getStandardFileManager(null, null, null)) { |
71 try (StandardJavaFileManager fm = tool.getStandardFileManager(null, null, null)) { |
72 fm.setLocation(CLASS_PATH, Collections.<File>emptyList()); |
72 fm.setLocation(CLASS_PATH, Collections.<File>emptyList()); |