You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniil Ovchinnikov (JIRA)" <ji...@apache.org> on 2018/03/07 08:07:00 UTC

[jira] [Created] (GROOVY-8496) Can't call default getProperty() implementation from superclass

Daniil Ovchinnikov created GROOVY-8496:
------------------------------------------

             Summary: Can't call default getProperty() implementation from superclass
                 Key: GROOVY-8496
                 URL: https://issues.apache.org/jira/browse/GROOVY-8496
             Project: Groovy
          Issue Type: Bug
            Reporter: Daniil Ovchinnikov


{code:title=GroovyClass.groovy}
class GroovyClass {}
{code}

{code:title=JavaClass.java}
class JavaClass extends GroovyClass { 
    @Override
    public Object getProperty(String propertyName) {
        return super.getProperty(propertyName); 
        // error: cannot find symbol: method getProperty(String)
    }
}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)