# HG changeset patch # User chegar # Date 1317045899 -3600 # Node ID 841791b02746bed47e826b2bdc7e50bdce00a697 # Parent 3a8a66de089284464ba236dcf5c26be77254f5c8 7094141: test/sun/misc/JarIndex/metaInfFilenames/Basic.java no longer compiles Reviewed-by: alanb diff -r 3a8a66de0892 -r 841791b02746 jdk/test/sun/misc/JarIndex/metaInfFilenames/Basic.java --- a/jdk/test/sun/misc/JarIndex/metaInfFilenames/Basic.java Mon Sep 26 17:13:47 2011 +0800 +++ b/jdk/test/sun/misc/JarIndex/metaInfFilenames/Basic.java Mon Sep 26 15:04:59 2011 +0100 @@ -155,7 +155,7 @@ static void compile(String... args) { debug("Running: javac " + Arrays.toString(args)); 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)); } }