changeset 4605:8876d1dec4d7

7094141: test/sun/misc/JarIndex/metaInfFilenames/Basic.java no longer compiles Reviewed-by: alanb
author chegar
date Mon, 26 Sep 2011 15:04:59 +0100
parents 2116952e4459
children 1c825eac6c04 7f1aca641910
files test/sun/misc/JarIndex/metaInfFilenames/Basic.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/misc/JarIndex/metaInfFilenames/Basic.java	Mon Sep 26 17:13:47 2011 +0800
+++ b/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));
         }
     }