changeset 27785 | 29d4cb4a8f5e |
parent 5506 | 202f599c92aa |
--- a/jdk/test/java/io/readBytes/MemoryLeak.java Mon Dec 01 17:59:39 2014 -0800 +++ b/jdk/test/java/io/readBytes/MemoryLeak.java Tue Dec 02 15:12:40 2014 +0100 @@ -40,7 +40,7 @@ try { s.read(bytes); throw new Error("expected IOException"); - } catch (IOException _) { + } catch (IOException expected) { /* OK */ } catch (OutOfMemoryError oome) { System.out.printf("Got OutOfMemoryError, i=%d%n", i);