jdk/src/share/classes/sun/dyn/FromGeneric.java
changeset 8347 e5daa5772ffd
parent 8346 3b891698c4ec
equal deleted inserted replaced
8346:3b891698c4ec 8347:e5daa5772ffd
   202             if (acls == null)  continue;
   202             if (acls == null)  continue;
   203             // see if it has the required invoke method
   203             // see if it has the required invoke method
   204             MethodHandle entryPoint = null;
   204             MethodHandle entryPoint = null;
   205             try {
   205             try {
   206                 entryPoint = MethodHandleImpl.IMPL_LOOKUP.findSpecial(acls, iname, entryType, acls);
   206                 entryPoint = MethodHandleImpl.IMPL_LOOKUP.findSpecial(acls, iname, entryType, acls);
   207             } catch (NoAccessException ex) {
   207             } catch (ReflectiveOperationException ex) {
   208             }
   208             }
   209             if (entryPoint == null)  continue;
   209             if (entryPoint == null)  continue;
   210             Constructor<? extends Adapter> ctor = null;
   210             Constructor<? extends Adapter> ctor = null;
   211             try {
   211             try {
   212                 ctor = acls.getDeclaredConstructor(MethodHandle.class);
   212                 ctor = acls.getDeclaredConstructor(MethodHandle.class);