Paul King created GROOVY-12237:
----------------------------------

             Summary: CheckingVisitor.findTargetVariable is now a protected 
instance method (was public static) 
                 Key: GROOVY-12237
                 URL: https://issues.apache.org/jira/browse/GROOVY-12237
             Project: Groovy
          Issue Type: Improvement
            Reporter: Paul King
            Assignee: Paul King
             Fix For: 6.0.0-alpha-1


commit ed63edb33f
As part of general cleanup in commit ed63edb33f, 
org.apache.groovy.typecheckers.CheckingVisitor#findTargetVariable changed from 
implicitly-public static to protected instance, aligning it with the rest of 
the class's protected, subclass-facing design. Binary-incompatible for 
third-party checkers compiled against 5.x (invokestatic → NoSuchMethodError); 
source-compatible for subclasses calling it unqualified, source-incompatible 
for external callers using CheckingVisitor.findTargetVariable(...). No shim is 
possible (a static and instance method with the same signature cannot coexist). 
Note groovy-typecheckers was incubating in 5.x, so this is migration guidance 
rather than a broken guarantee. Recompile against 6.x; external (non-subclass) 
callers should inline the small lookup themselves.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to