src/java.base/share/classes/java/lang/invoke/MutableCallSite.java
changeset 59275 a6e25566cb56
parent 54206 003cc64366da
equal deleted inserted replaced
59268:611f6bfe7c30 59275:a6e25566cb56
   150      * @throws WrongMethodTypeException if the proposed new target
   150      * @throws WrongMethodTypeException if the proposed new target
   151      *         has a method type that differs from the previous target
   151      *         has a method type that differs from the previous target
   152      * @see #getTarget
   152      * @see #getTarget
   153      */
   153      */
   154     @Override public void setTarget(MethodHandle newTarget) {
   154     @Override public void setTarget(MethodHandle newTarget) {
   155         checkTargetChange(this.target, newTarget);
       
   156         setTargetNormal(newTarget);
   155         setTargetNormal(newTarget);
   157     }
   156     }
   158 
   157 
   159     /**
   158     /**
   160      * {@inheritDoc}
   159      * {@inheritDoc}