[jira] [Updated] (GROOVY-8496) Can't call default getProperty() implementation from Java subclass

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (GROOVY-8496) Can't call default getProperty() implementation from Java subclass

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/GROOVY-8496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniil Ovchinnikov updated GROOVY-8496:
---------------------------------------
    Summary: Can't call default getProperty() implementation from Java subclass  (was: Can't call default getProperty() implementation from superclass)

> Can't call default getProperty() implementation from Java subclass
> ------------------------------------------------------------------
>
>                 Key: GROOVY-8496
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8496
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Daniil Ovchinnikov
>            Priority: Major
>
> {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)