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] [Resolved] (GROOVY-8497) Can't call getProperty() from Java
Date Sat, 15 Sep 2018 03:09:00 GMT

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

Paul King resolved GROOVY-8497.
-------------------------------
       Resolution: Fixed
         Assignee: Paul King
    Fix Version/s: 2.5.3
                   3.0.0-alpha-4

Fixed by GROOVY-8495 but an additional test case added to cover this case.

> Can't call getProperty() from Java
> ----------------------------------
>
>                 Key: GROOVY-8497
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8497
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Daniil Ovchinnikov
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 3.0.0-alpha-4, 2.5.3
>
>
> {code:title=GroovyClass.groovy}
> class GroovyClass {}
> {code}
> {code:title=JavaClass.java}
> class JavaClass {
>     void usage() {
>         new GroovyClass().getProperty("a"); 
>         // error: cannot find symbol: method getProperty(String)
>     }
> }
> {code}



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

Mime
View raw message