mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-14 12:25:21 +00:00
8036732: Fix raw warning in java.lang.invoke.MethodHandleImpl.java
Reviewed-by: forax
This commit is contained in:
parent
5a678f7c26
commit
63dbfed84f
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user