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 -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 +。
继续阅读与本文标签相同的文章
下一篇 :
浅谈Spring-boot事件监听及实现
-
路漫漫其修远兮,吾将上下而求索
2026-05-19栏目: 教程
-
Kerberos使用OpenLDAP作为backend
2026-05-19栏目: 教程
-
如何访问 redis 中的海量数据?避免事故产生
2026-05-19栏目: 教程
-
Serverless Kubernetes全面升级2.0架构:支持多命名空间、RBAC、CRD、PV/PVC等功能
2026-05-19栏目: 教程
-
6个常见的高并发缓存问题,你知道几个?
2026-05-19栏目: 教程
