groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8496) Can't call default getProperty() implementation from Java subclass
Date Thu, 11 Oct 2018 04:01:00 GMT

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

Paul King updated GROOVY-8496:
------------------------------
    Fix Version/s:     (was: 2.5.3)

> 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
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 3.0.0-alpha-4
>
>
> {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)

Mime
View raw message