--- a/jdk/src/share/classes/sun/reflect/MethodAccessorGenerator.java Mon Aug 22 16:05:38 2011 +0100
+++ b/jdk/src/share/classes/sun/reflect/MethodAccessorGenerator.java Mon Aug 22 12:16:12 2011 -0700
@@ -401,10 +401,8 @@
0,
bytes.length,
declaringClass.getClassLoader()).newInstance();
- } catch (InstantiationException |
- IllegalAccessException e) {
- throw (InternalError)
- new InternalError().initCause(e);
+ } catch (InstantiationException | IllegalAccessException e) {
+ throw new InternalError(e);
}
}
});