Apache Groovy 2.6.0-alpha-3 发布,JVM 动态脚本语言

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

改进

另外,Apache Groovy 2.6.0-alpha-3 需要 JDK7 +。

下载地址:http://www.groovy-lang.org/download.html

  • 发表于:
  • 原文链接:https://www.oschina.net/news/93946/groovy-2-6-0-alpha3-released

扫码关注云+社区

领取腾讯云代金券