mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8159746: (proxy) Support for default methods
Co-authored-by: Peter Levart <plevart@openjdk.org> Reviewed-by: darcy, alanb, plevart
This commit is contained in:
parent
1433bafb33
commit
56b15fbbcc
29 changed files with 1380 additions and 148 deletions
|
@ -31,6 +31,7 @@ import jdk.internal.reflect.MethodAccessor;
|
|||
import jdk.internal.reflect.Reflection;
|
||||
import jdk.internal.vm.annotation.ForceInline;
|
||||
import jdk.internal.vm.annotation.IntrinsicCandidate;
|
||||
import jdk.internal.vm.annotation.Stable;
|
||||
import sun.reflect.annotation.ExceptionProxy;
|
||||
import sun.reflect.annotation.TypeNotPresentExceptionProxy;
|
||||
import sun.reflect.generics.repository.MethodRepository;
|
||||
|
@ -66,6 +67,7 @@ import java.util.StringJoiner;
|
|||
* @since 1.1
|
||||
*/
|
||||
public final class Method extends Executable {
|
||||
@Stable
|
||||
private Class<?> clazz;
|
||||
private int slot;
|
||||
// This is guaranteed to be interned by the VM in the 1.4
|
||||
|
@ -74,6 +76,7 @@ public final class Method extends Executable {
|
|||
private Class<?> returnType;
|
||||
private Class<?>[] parameterTypes;
|
||||
private Class<?>[] exceptionTypes;
|
||||
@Stable
|
||||
private int modifiers;
|
||||
// Generics and annotations support
|
||||
private transient String signature;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue