< prev index next >

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

Print this page
8145371: ClassCastException thrown in LambdaFormEditor.getInCache
Reviewed-by: mhaupt

@@ -907,11 +907,11 @@
 
         boolean countDown() {
             int c = count;
             maybeCustomizeTarget();
             if (c <= 1) {
-                // Try to limit number of updates. MethodHandle.updateForm() doesn't guarantee LF update visibility.
+                // Try to limit number of updates.
                 if (isCounting) {
                     isCounting = false;
                     return true;
                 } else {
                     return false;
< prev index next >