Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.5.7
-
None
-
None
Description
The modification made for bug 2904 has broken the flatten() method, which now raises a NPE if the collection contains (at any level) a null element
To reproduce:
["A", null, "B"].flatten()
throws a NPE with Groovy 1.5.7.
It worked fine with Groovy 1.5.6 and before.