jdk/test/java/util/EnumSet/BogusEnumSet.java
changeset 27785 29d4cb4a8f5e
parent 5506 202f599c92aa
child 35314 a7e13065a7a0
--- 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 {