Details
Description
Similar issue to GROOVY-6446,
@Grab( 'com.bloidonia:groovy-stream:0.6.2' ) import groovy.stream.Stream println([1,2,3].iterator().toStream())
Fails same exception
Caught: groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList$Itr.toStream() is applicable for argument types: () values: []
Possible solutions: toString(), toString(), toSet()
groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList$Itr.toStream() is applicable for argument types: () values: []
Possible solutions: toString(), toString(), toSet()
at s.run(s.groovy:5)
With Java 8 environment, this happens always.
And with Java 8, following code never success with same error.
groovy.grape.Grape.grab(['group': 'com.bloidonia', 'module': 'groovy-stream', 'version': '0.6.2']) println([1,2,3].iterator().toStream())
Attachments
Attachments
Issue Links
- is related to
-
GROOVY-6446 Groovy-module's extension method don't work by Grape Annotation(sometimes)
- Closed