--- a/jdk/test/java/lang/Class/TypeCheckMicroBenchmark.java Mon Dec 01 17:59:39 2014 -0800
+++ b/jdk/test/java/lang/Class/TypeCheckMicroBenchmark.java Tue Dec 02 15:12:40 2014 +0100
@@ -182,7 +182,7 @@
for (int i = 0; i < iterations; i++) {
for (Object x : list.toArray()) {
try { a[0] = x; }
- catch (ArrayStoreException _) {
+ catch (ArrayStoreException unused) {
throw new ClassCastException(); }}}}},
new Job("write into dynamic array") { void work() {
for (int i = 0; i < iterations; i++) {
@@ -190,7 +190,7 @@
Object[] a = (Object[])
java.lang.reflect.Array.newInstance(klazz, 1);
try { a[0] = x; }
- catch (ArrayStoreException _) {
+ catch (ArrayStoreException unused) {
throw new ClassCastException(); }}}}}
};