jdk/src/share/classes/java/lang/invoke/MethodHandleImpl.java
changeset 11007 09d3dddac781
parent 10615 7e211ad476ca
child 11534 9949ffb8eb3a
equal deleted inserted replaced
11006:734080358bec 11007:09d3dddac781
   932             throw new RuntimeException(ex);
   932             throw new RuntimeException(ex);
   933         }
   933         }
   934         return THROW_EXCEPTION;
   934         return THROW_EXCEPTION;
   935     }
   935     }
   936     static <T extends Throwable> Empty throwException(T t) throws T { throw t; }
   936     static <T extends Throwable> Empty throwException(T t) throws T { throw t; }
   937 
       
   938     // Linkage support:
       
   939     static void registerBootstrap(Class<?> callerClass, MethodHandle bootstrapMethod) {
       
   940         MethodHandleNatives.registerBootstrap(callerClass, bootstrapMethod);
       
   941     }
       
   942     static MethodHandle getBootstrap(Class<?> callerClass) {
       
   943         return MethodHandleNatives.getBootstrap(callerClass);
       
   944     }
       
   945 }
   937 }