Пример #1
0
 /*non-public*/ static void ensureInitialized(Object mh) {
   ((DirectMethodHandle) mh).ensureInitialized();
 }
Пример #2
0
 /**
  * Static wrapper for DirectMethodHandle.internalMemberName. This one also forces initialization.
  */
 /*non-public*/ static Object internalMemberNameEnsureInit(Object mh) {
   DirectMethodHandle dmh = (DirectMethodHandle) mh;
   dmh.ensureInitialized();
   return dmh.member;
 }