Apache Groovy 2.4.14 已发布,这是 GROOVY_2_4_X 分支的常规维护版本,强烈鼓励所有使用此分支旧版本的用户进行升级。
此次更新包括了 13 处的 bug 修复以及改进:
Bug
- [GROOVY-6888] – Static type checking fails if I change the closure input parameter name
- [GROOVY-7061] – Type inference not working for Collections.sort()
- [GROOVY-7929] – @SelfType compilation fail
- [GROOVY-8241] – SAM parameter type inference for explicit parameter
- [GROOVY-8295] – Groovyc ant task can overflow Windows command line if classpath is large
- [GROOVY-8317] – Smart type inference doesn’t work on explicit closure params
- [GROOVY-8362] – Nested class is resolved via another nested class with package name
- [GROOVY-8402] – GroovyScriptEngine.ScriptClassLoader applies compilation customizers twice
- [GROOVY-8432] – Weird behavior parsing dates
- [GROOVY-8438] – Running grape causes an exception
- [GROOVY-8445] – Static analysis does not work properly when coercing Closure to FunctionInterface
- [GROOVY-8474] – ‘Unexpected super property set for:’ when accessing super class property via super.propertyName
Improvement
- [GROOVY-8428] – Add DGM startsWithAny(String…) and endsWithAny(String…)
了解更多详情点此查看。
下载地址:
转自 http://www.oschina.net/news/93825/apache-groovy-2-4-14