Jason Maher created GROOVY-7924:
-----------------------------------
Summary: groovyc fails with NPE for dynamic method/property use on
super
Key: GROOVY-7924
URL: https://issues.apache.org/jira/browse/GROOVY-7924
Project: Groovy
Issue Type: Bug
Components: class generator
Affects Versions: 2.4.7
Environment: OSX, Groovy-2.4.7, Gradle-3.0
Reporter: Jason Maher
Priority: Minor
Compilation of any class that makes a dynamic call to super will fail with an
NPE. Example:
{code}
class TargetClass {
def dynamicSuperInvoke(String name) {
super."$name"()
}
def dynamicSuperAccess(String name) {
super."$name"
}
}
{code}
Example project: https://github.com/jasoma/groovyc-npe-repro
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)