Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4
-
Fix Version/s: 1.5.5, 1.6-beta-1
-
Component/s: None
-
Labels:None
-
Environment:Ubuntu Linux, JDK1.5.0, Groovy 1.5.4
-
Testcase included:yes
-
Number of attachments :
Description
- When you have a number of overloaded methods in some Java code, one of which accepts
an array of Interfaces as a parameter, the MetaclassImpl.chooseMostSpecificParams() and
MetaClassHelper.calculateParameterDistance() fail to calculate the proper method call
to invoke.
- The attached project demonstrates the bug as a JUnit test case with Ant.
$ant compile
$ant run-test
looks like the fixes for
GROOVY-2719andGROOVY-2698fixed this issue tooGROOVY-2719andGROOVY-2698fixed this issue too