提交 fcf453a8 编写于 作者: C chegar

7094141: test/sun/misc/JarIndex/metaInfFilenames/Basic.java no longer compiles

Reviewed-by: alanb
上级 131f4b63
...@@ -155,7 +155,7 @@ public class Basic { ...@@ -155,7 +155,7 @@ public class Basic {
static void compile(String... args) { static void compile(String... args) {
debug("Running: javac " + Arrays.toString(args)); debug("Running: javac " + Arrays.toString(args));
com.sun.tools.javac.main.Main compiler = new com.sun.tools.javac.main.Main("javac"); com.sun.tools.javac.main.Main compiler = new com.sun.tools.javac.main.Main("javac");
if (compiler.compile(args) != 0) { if (compiler.compile(args) != com.sun.tools.javac.main.Main.Result.OK) {
throw new RuntimeException("javac failed: args=" + Arrays.toString(args)); throw new RuntimeException("javac failed: args=" + Arrays.toString(args));
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册