The type checker is preventing the use of the Java 8 Streaming API and Lambdas. I was unable to find documentation in the community portal saying these features are intentionally being restricted.
The type checker failed at the following things:
Is this a defect, or would it be a feature request?
"Groovy 2.3 doesn’t support the new syntax constructs offered by Java 8 (such as lambdas, method references, default methods in interfaces, etc), but you can very well already use the new APIs offered by JDK 8, and even use Groovy closures in lieu of Java 8 lambdas."
More info could be found here:http://groovy-lang.org/releasenotes/groovy-2.3.htmlhttp://groovy-lang.org/releasenotes/groovy-2.4.html
Thank you, this is helpful information. I'll need to convert my java classes to groovy classes then.