changeset 23059:4aca6147df88

8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java Reviewed-by: forax
author darcy
date Wed, 05 Mar 2014 11:53:35 -0800
parents 2e261b4319e9
children 61ffe815de7c
files jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);