Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-10
-
None
Description
class ArrayAutoboxingTest extends GroovyTestCase {
void testUnwantedAutoboxingWhenInvokingMethods()
{ blah2(new int[2*2]) }blah2(int[] wobble)
{ println(wobble) }}
this fails because the given int[] is convertet to an Integer[] with null values and then converted back to an int[] where null.intValue() is causing a NullPointerException