Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Debian GNU/Linux ; JDK 1.5.0_05 ; Groovy CVS 2005-11-28T11:00
Description
The following script:
def a = [ 'a' , 'b' , 'c' , 'd' ] as Set
def c = a.collect
println c.getClass ( ).getName ( ) + ": " + c
results in:
Caught: java.lang.ClassCastException: java.util.ArrayList
at kolesa.run(kolesa.groovy:8)
at kolesa.main(kolesa.groovy)