| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | DirectConstructorHandleAccessor.
Invoke the constructor via native VM reflection |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final MethodHandle |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static ConstructorAccessorImpl | |
| pack-priv Object | |
| private boolean | |
| pack-priv static ConstructorAccessorImpl | |
| public Object | newInstance(Object[] args)
Implements abstract jdk. Implements jdk. Matches specification in |
| paramCount | back to summary |
|---|---|
| private final int paramCount | |
| target | back to summary |
|---|---|
| private final MethodHandle target | |
| DirectConstructorHandleAccessor | back to summary |
|---|---|
| pack-priv DirectConstructorHandleAccessor(Constructor<?> ctor, MethodHandle target) | |
| constructorAccessor | back to summary |
|---|---|
| pack-priv static ConstructorAccessorImpl constructorAccessor(Constructor<?> ctor, MethodHandle target) | |
| invokeImpl | back to summary |
|---|---|
pack-priv Object invokeImpl(Object[] args) throws Throwable
| |
| isIllegalArgument | back to summary |
|---|---|
| private boolean isIllegalArgument(RuntimeException ex) | |
| nativeAccessor | back to summary |
|---|---|
| pack-priv static ConstructorAccessorImpl nativeAccessor(Constructor<?> ctor) | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Object[] args) throws InstantiationException, InvocationTargetException Implements abstract jdk. Implements jdk. Doc from jdk. Matches specification in
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | newInstance(Object[] args)
Implements abstract jdk. Implements jdk. Matches specification in |
| private static native Object |
| ctor | back to summary |
|---|---|
| private final Constructor<?> ctor | |
| NativeAccessor | back to summary |
|---|---|
| pack-priv NativeAccessor(Constructor<?> ctor) | |
| newInstance | back to summary |
|---|---|
| public Object newInstance(Object[] args) throws InstantiationException, InvocationTargetException Implements abstract jdk. Implements jdk. Doc from jdk. Matches specification in
| |
| newInstance0 | back to summary |
|---|---|
| private static native Object newInstance0(Constructor<?> c, Object[] args) throws InstantiationException, InvocationTargetException | |