jdk/src/share/classes/java/lang/invoke/MethodHandleNatives.java
changeset 16121 49db59536470
parent 16118 9f3390f42157
child 16906 44dfee24cb71
equal deleted inserted replaced
16120:133a029f510a 16121:49db59536470
   403             return canBeCalledVirtual(mem, java.lang.SecurityManager.class);
   403             return canBeCalledVirtual(mem, java.lang.SecurityManager.class);
   404         case "getUnsafe":
   404         case "getUnsafe":
   405             return defc == sun.misc.Unsafe.class;
   405             return defc == sun.misc.Unsafe.class;
   406         case "lookup":
   406         case "lookup":
   407             return defc == java.lang.invoke.MethodHandles.class;
   407             return defc == java.lang.invoke.MethodHandles.class;
       
   408         case "findStatic":
       
   409         case "findVirtual":
       
   410         case "findConstructor":
       
   411         case "findSpecial":
       
   412         case "findGetter":
       
   413         case "findSetter":
       
   414         case "findStaticGetter":
       
   415         case "findStaticSetter":
       
   416         case "bind":
       
   417         case "unreflect":
       
   418         case "unreflectSpecial":
       
   419         case "unreflectConstructor":
       
   420         case "unreflectGetter":
       
   421         case "unreflectSetter":
       
   422             return defc == java.lang.invoke.MethodHandles.Lookup.class;
   408         case "invoke":
   423         case "invoke":
   409             return defc == java.lang.reflect.Method.class;
   424             return defc == java.lang.reflect.Method.class;
   410         case "get":
   425         case "get":
   411         case "getBoolean":
   426         case "getBoolean":
   412         case "getByte":
   427         case "getByte":