jdk/src/java.base/share/classes/java/lang/invoke/SwitchPoint.java
changeset 44255 515cf13d7791
parent 32276 2d5fcc89e099
equal deleted inserted replaced
44254:123a06da53d0 44255:515cf13d7791
   106  *         MutableCallSite.syncAll(mcss.toArray(new MutableCallSite[0]));
   106  *         MutableCallSite.syncAll(mcss.toArray(new MutableCallSite[0]));
   107  *     }
   107  *     }
   108  * }
   108  * }
   109  * }</pre>
   109  * }</pre>
   110  * @author Remi Forax, JSR 292 EG
   110  * @author Remi Forax, JSR 292 EG
       
   111  * @since 1.7
   111  */
   112  */
   112 public class SwitchPoint {
   113 public class SwitchPoint {
   113     private static final MethodHandle
   114     private static final MethodHandle
   114         K_true  = MethodHandles.constant(boolean.class, true),
   115         K_true  = MethodHandles.constant(boolean.class, true),
   115         K_false = MethodHandles.constant(boolean.class, false);
   116         K_false = MethodHandles.constant(boolean.class, false);