< prev index next >

test/java/io/readBytes/MemoryLeak.java

Print this page
rev 10985 : [mq]: 8061549

@@ -38,11 +38,11 @@
         s.close();
         for (int i = 0; i < 10000; i++) {
             try {
                 s.read(bytes);
                 throw new Error("expected IOException");
-            } catch (IOException _) {
+            } catch (IOException ignore) {
                 /* OK */
             } catch (OutOfMemoryError oome) {
                 System.out.printf("Got OutOfMemoryError, i=%d%n", i);
                 throw oome;
             }
< prev index next >