jdk/test/java/lang/ProcessBuilder/Zombies.java
changeset 27785 29d4cb4a8f5e
parent 12538 211d6e82fe51
child 39482 11b54f3b1ba7
--- a/jdk/test/java/lang/ProcessBuilder/Zombies.java	Mon Dec 01 17:59:39 2014 -0800
+++ b/jdk/test/java/lang/ProcessBuilder/Zombies.java	Tue Dec 02 15:12:40 2014 +0100
@@ -47,17 +47,17 @@
         try {
             rt.exec("no-such-file");
             throw new Error("expected IOException not thrown");
-        } catch (IOException _) {/* OK */}
+        } catch (IOException expected) {/* OK */}
 
         try {
             rt.exec(".");
             throw new Error("expected IOException not thrown");
-        } catch (IOException _) {/* OK */}
+        } catch (IOException expected) {/* OK */}
 
         try {
             rt.exec(TrueCommand, null, new File("no-such-dir"));
             throw new Error("expected IOException not thrown");
-        } catch (IOException _) {/* OK */}
+        } catch (IOException expected) {/* OK */}
 
         rt.exec(TrueCommand).waitFor();