equal
deleted
inserted
replaced
458 i++; |
458 i++; |
459 } |
459 } |
460 } |
460 } |
461 } |
461 } |
462 |
462 |
463 /*non-public*/ static final |
463 /*non-public*/ |
464 class PushAdapter { |
464 static final class PushAdapter { |
465 // skeleton for push-mode BSM which wraps a pull-mode BSM: |
465 // skeleton for push-mode BSM which wraps a pull-mode BSM: |
466 static Object pushToBootstrapMethod(MethodHandle pullModeBSM, |
466 static Object pushToBootstrapMethod(MethodHandle pullModeBSM, |
467 MethodHandles.Lookup lookup, String name, Object type, |
467 MethodHandles.Lookup lookup, String name, Object type, |
468 Object... arguments) throws Throwable { |
468 Object... arguments) throws Throwable { |
469 ConstantGroup cons = makeConstantGroup(Arrays.asList(arguments)); |
469 ConstantGroup cons = makeConstantGroup(Arrays.asList(arguments)); |
485 throw new InternalError(ex); |
485 throw new InternalError(ex); |
486 } |
486 } |
487 } |
487 } |
488 } |
488 } |
489 |
489 |
490 /*non-public*/ static final |
490 /*non-public*/ |
491 class PullAdapter { |
491 static final class PullAdapter { |
492 // skeleton for pull-mode BSM which wraps a push-mode BSM: |
492 // skeleton for pull-mode BSM which wraps a push-mode BSM: |
493 static Object pullFromBootstrapMethod(MethodHandle pushModeBSM, |
493 static Object pullFromBootstrapMethod(MethodHandle pushModeBSM, |
494 MethodHandles.Lookup lookup, |
494 MethodHandles.Lookup lookup, |
495 BootstrapCallInfo<?> bsci) |
495 BootstrapCallInfo<?> bsci) |
496 throws Throwable { |
496 throws Throwable { |