[jira] [Commented] (GROOVY-7467) Expected parameter of type java.lang.Object but got java.util.Map in groovy 2.3.10

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

[jira] [Commented] (GROOVY-7467) Expected parameter of type java.lang.Object but got java.util.Map in groovy 2.3.10

JIRA jira@apache.org

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

Vijaykumar commented on GROOVY-7467:
------------------------------------

The code which I posted in the previous  comment  was working  in groovy  2.2.2  and it wasn't  working in groovy  2.3.10
Why it is not working in groovy 2.3.10??

Why it is so ?
Is there any specific to this ??

Thank you

> Expected parameter of type java.lang.Object but got java.util.Map in groovy 2.3.10
> ----------------------------------------------------------------------------------
>
>                 Key: GROOVY-7467
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7467
>             Project: Groovy
>          Issue Type: Bug
>          Components: Static compilation
>    Affects Versions: 2.3.10
>            Reporter: Vijaykumar
>            Assignee: Jochen Theodorou
>
> Expected parameter of type java.lang.Object but got java.util.Map
> I'm getting the above exception in the groovy 2.3.10..
> I have declared the closure parameter as Map in my code. The same code is  working in groovy 2.2.2.
> I am upgrading groovy from 2.2.2  to 2.3.10.



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