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

[jira] [Commented] (GROOVY-8497) Can't call getProperty() from Java

    [ https://issues.apache.org/jira/browse/GROOVY-8497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16649300#comment-16649300 ] 

Paul King commented on GROOVY-8497:
-----------------------------------

Resolving just for 3.0 for now. We can add a 2.5.x fix version if/when we backport to 2_5_X.

> 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
>
>
> {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)