8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java
authordarcy
Wed, 05 Mar 2014 11:53:35 -0800
changeset 23059 4aca6147df88
parent 23058 2e261b4319e9
child 23060 61ffe815de7c
8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java Reviewed-by: forax
jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java
--- 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);