You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Wagenleitner (JIRA)" <ji...@apache.org> on 2016/04/05 19:51:25 UTC

[jira] [Commented] (GROOVY-6547) metaClass property changes

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

John Wagenleitner commented on GROOVY-6547:
-------------------------------------------

This is not the example from the book (but a shorten adapted version of it) but illustrates what worked in 1.8.9 but not in releases since:

{code:java}
class Foo {}

def f = new Foo()
assert f.properties.find { it.key == 'metaClass' }
{code}

> metaClass property changes
> --------------------------
>
>                 Key: GROOVY-6547
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6547
>             Project: Groovy
>          Issue Type: Bug
>         Environment: Using Fedora Linux 19 - OpenJDK 1.7.0
>            Reporter: James Gardiner
>
> The metaClass property is not exposed for classes a la Groovy In Action Listing 7.21. This formerly worked in 1.8.9.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)