Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.1-rc-1
-
Fix Version/s: 1.1-rc-2
-
Component/s: groovy-jdk
-
Labels:None
-
Number of attachments :
Description
Currently, the "default" kind map that we get in Groovy using [..:..] notation is LinkedHashMap.
It comes a bit as a surprise when subMap and findAll return plain HashMap.
A minimal fix would be - to return LinkedHashMap, a maximal fix is to preserve the type of an incoming map.
fixed