8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java

Reviewed-by: forax
This commit is contained in:
Joe Darcy 2014-03-05 11:53:35 -08:00
parent 5a678f7c26
commit 63dbfed84f

View File

@ -734,7 +734,7 @@ import static java.lang.invoke.MethodHandles.Lookup.IMPL_LOOKUP;
* (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);