[
https://issues.apache.org/jira/browse/GROOVY-8125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jochen Theodorou resolved GROOVY-8125.
--------------------------------------
Resolution: Won't Fix
Assignee: Jochen Theodorou
> Upgrading to 2.4.6 breaks
> -------------------------
>
> Key: GROOVY-8125
> URL: https://issues.apache.org/jira/browse/GROOVY-8125
> Project: Groovy
> Issue Type: Bug
> Components: groovy-runtime
> Affects Versions: 2.4.6
> Reporter: Saravanan Subiramaniam
> Assignee: Jochen Theodorou
> Priority: Critical
>
> We recently upgraded to Groovy 2.4.6 version and running into Ambiguous
> method overloading for method error when setting null value. Reproducible
> test case:
> {code:java}
> interface A {}
> interface B extends A {}
> class MyClass {
> public void setSomething(A a) { }
> public void setSomething(B b) { }
> }
> def myClass = new MyClass()
> A a = null
> myClass.something = a
> {code}
> I'm not sure if this is similar to GROOVY-7481. Could you please suggest how
> to resolve this issue? Thanks.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)