/*non-public*/ static void ensureInitialized(Object mh) { ((DirectMethodHandle) mh).ensureInitialized(); }
/** * 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; }