Apache Groovy 2.6.0-alpha-3 已发布,此版本包含 18 个错误修复/改进: Bug 修复 [GROOVY-7061] - Type inference not working for Collections.sort() [GROOVY-8241] - SAM parameter type inference for explicit parameter [GROOVY-8317] - Smart type inference doesn't work on explicit closure params [GROOVY-8377] - hashCode() generated by @EqualsAndHashCode is inefficient for instances with null fields or properties [GROOVY-8387] - Invalid module-info.class in jar artifacts [GROOVY-8407] - antlr4 jar file has not been repackaged into groovy-all-2.6.0-XXX-indy.jar [GROOVY-8432] - Weird behavior parsing dates [GROOVY-8436] - IOException "Stream closed" occurred when rebuilding Apache Groovy in IntelliJ IDEA [GROOVY-8445] - Static analysis does not work properly when coercing Closure to FunctionInterface [GROOVY-8447] - It is allowed to define local variable of void type [GROOVY-8471] - Contents of META-INF/services/org.codehaus.groovy.source.Extensions conflict with Maven/Jisaw [GROOVY-8474] - 'Unexpected super property set for:' when accessing super class property via super.propertyName [GROOVY-8486] - Closure executed multiple times even if memoized 改进 [GROOVY-8410] - Provide a common cache [GROOVY-8428] - Add DGM startsWithAny(String...) and endsWithAny(String...) [GROOVY-8464] - Allow rendering inline json [GROOVY-8466] - Support native lambda in static compilation mode [GROOVY-8473] - Bump asm version to 6.1-beta2 另外,Apache Groovy 2.6.0-alpha-3 需要 JDK7 +。 下载地址:http://www.groovy-lang.org/download.html Apache Groovy 2.6.0-alpha-3 发布,JVM 动态脚本语言下载地址