Apache Groovy 2.5.0 rc1 发布了。Groovy 是一种基于 JVM 的敏捷开发语言,它结合了 Python、Ruby 和 Smalltalk 的许多强大的特性。

新功能

改进

  • [GROOVY-7981] - 对于 groovy.transform.Immutable 已赋格的类没有公共构造函数
  • [GROOVY-8480] - org.codehaus.groovy.runtime.ExtensionModule 应移至 -INF / groovy

Task

  • [GROOVY-8501] - 切换 @Immutable 现有构造函数验证的内部细节
  • [GROOVY-8525] - GroovyClassLoader 在 2.4 和更高版本的分支之间的二进制兼容性问题

依赖更新

Bug 修复

  • [GROOVY-7083] - PermGen memory leak in ConfigSlurper.parse( , URL location)
  • [GROOVY-7624] - Collection asImmutable() methods aren't immutable
  • [GROOVY-8338] - Calling Stream.of from groovy class in JDK 9 fails
  • [GROOVY-8439] - @CompileStatic cannot compile generic class's static method
  • [GROOVY-8484] - Duplicate zip file entries in Groovy 2.5.0-beta-3 source jars on Maven Central
  • [GROOVY-8486] - Closure executed multiple times even if memoized
  • [GROOVY-8515] - groovy.g no longer included in sources jars
  • [GROOVY-8523] - Static type checking instanceof

更多内容

下载地址:

收藏 打印