mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8283416: Update java.lang.invoke.MethodHandle to use sealed classes
Reviewed-by: sundar, mchung
This commit is contained in:
parent
90750decb4
commit
f16244509d
6 changed files with 23 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -39,7 +39,7 @@ import static java.lang.invoke.MethodHandleStatics.newInternalError;
|
|||
* or whether a native transition is required) and a <em>fallback</em> method handle, which can be used
|
||||
* when intrinsification of this method handle is not possible.
|
||||
*/
|
||||
/*non-public*/ class NativeMethodHandle extends MethodHandle {
|
||||
/*non-public*/ final class NativeMethodHandle extends MethodHandle {
|
||||
final NativeEntryPoint nep;
|
||||
final MethodHandle fallback;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue