8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java
Reviewed-by: forax
--- a/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java Wed Mar 05 20:03:32 2014 +0100
+++ b/jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java Wed Mar 05 11:53:35 2014 -0800
@@ -734,7 +734,7 @@
* (see {@link InvokerBytecodeGenerator#emitGuardWithCatch emitGuardWithCatch}).
*/
@LambdaForm.Hidden
- static Object guardWithCatch(MethodHandle target, Class exType, MethodHandle catcher,
+ static Object guardWithCatch(MethodHandle target, Class<? extends Throwable> exType, MethodHandle catcher,
Object... av) throws Throwable {
try {
return target.invokeWithArguments(av);