src/share/classes/java/lang/invoke/MethodHandleImpl.java

Print this page
rev 10452 : imported patch lang-Typos

@@ -619,11 +619,11 @@
         LambdaForm form = new LambdaForm("guard", lambdaType.parameterCount(), names);
         return SimpleMethodHandle.make(target.type(), form);
     }
 
     /**
-     * The LambaForm shape for catchException combinator is the following:
+     * The LambdaForm shape for catchException combinator is the following:
      * <blockquote><pre>{@code
      *  guardWithCatch=Lambda(a0:L,a1:L,a2:L)=>{
      *    t3:L=BoundMethodHandle$Species_LLLLL.argL0(a0:L);
      *    t4:L=BoundMethodHandle$Species_LLLLL.argL1(a0:L);
      *    t5:L=BoundMethodHandle$Species_LLLLL.argL2(a0:L);

@@ -700,11 +700,11 @@
                                     Class<? extends Throwable> exType,
                                     MethodHandle catcher) {
         MethodType type = target.type();
         LambdaForm form = makeGuardWithCatchForm(type.basicType());
 
-        // Prepare auxiliary method handles used during LambdaForm interpreation.
+        // Prepare auxiliary method handles used during LambdaForm interpretation.
         // Box arguments and wrap them into Object[]: ValueConversions.array().
         MethodType varargsType = type.changeReturnType(Object[].class);
         MethodHandle collectArgs = ValueConversions.varargsArray(type.parameterCount())
                                                    .asType(varargsType);
         // Result unboxing: ValueConversions.unbox() OR ValueConversions.identity() OR ValueConversions.ignore().