changeset 33:096b979871ab

Use 1.6 compatible API only.
author shade
date Sun, 12 May 2013 17:42:15 +0400
parents 47d8317b2db3
children 6cecb6d42aa5
files jmh-core/src/main/java/org/openjdk/jmh/runner/AbstractResourceReader.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/runner/AbstractResourceReader.java	Sun May 12 17:40:53 2013 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/runner/AbstractResourceReader.java	Sun May 12 17:42:15 2013 +0400
@@ -89,7 +89,7 @@
                         try {
                             r.close();
                         } catch (IOException e1) {
-                            e.addSuppressed(e1);
+                            // ignore
                         }
                     }
                     throw new RuntimeException("IOException while opening resource: " + url, e);