You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Dmitriy Neretin (Jira)" <ji...@apache.org> on 2020/07/11 12:49:00 UTC

[jira] [Updated] (GROOVY-9636) Inconsistent behaviour of isSynthetic between Groovy version 2.* and 3.*

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

Dmitriy Neretin updated GROOVY-9636:
------------------------------------
    Summary: Inconsistent behaviour of isSynthetic between Groovy version 2.* and 3.*  (was: Inconsistent behaviour of isSynthetic between Groovy version 2 and 3)

> Inconsistent behaviour of isSynthetic between Groovy version 2.* and 3.*
> ------------------------------------------------------------------------
>
>                 Key: GROOVY-9636
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9636
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 3.0.4
>            Reporter: Dmitriy Neretin
>            Priority: Major
>
> Following steps are needed to reproduce the issue:
>  * Checkout [https://github.com/dimarzio/groovy_sandbox]
>  * Current groovy dependency in the project build file is 3.0.4
>  * Run the App class
>  ** Which obtains a class literal, takes a getMetaClass method and executes isSynthetic() on it
>  * isSynthetic() returns false, which is not right (at least my assumption!) and leads to the failed assertion



--
This message was sent by Atlassian Jira
(v8.3.4#803005)