--- a/jdk/test/java/util/EnumSet/BogusEnumSet.java Mon Dec 01 17:59:39 2014 -0800
+++ b/jdk/test/java/util/EnumSet/BogusEnumSet.java Tue Dec 02 15:12:40 2014 +0100
@@ -82,7 +82,7 @@
System.out.println("Set size: " + es.size()); // 64
System.out.println("Set: " + es); // Throws IndexOutOfBoundsException
throw new AssertionError("Expected exception InvalidObjectException not thrown");
- } catch (java.io.InvalidObjectException _) { /* OK */ }
+ } catch (java.io.InvalidObjectException expected) { /* OK */ }
}
private static Object deserialize(byte[] sf) throws Throwable {