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

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

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

JIRA jira@apache.org
Daniil Ovchinnikov created GROOVY-8497:
------------------------------------------

             Summary: 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


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