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 主要的特点包括: 是一个基于Java虚拟机的敏捷动态语言。 构建在强大的Java语言之上 并添加了从Python,Ruby和Smalltalk等语言中学到的诸多特征。 为Java开发者提供了现代最流行的编程语言特性,而且学习成本很低(几乎为零)。 支持DSL(Domain Specific Languages领域定义语言)和其它简洁的语法,让你的代码变得易于阅读和维护。 Goovy拥有处理原生类型,面向对象以及一个Ant DSL,使得创建Shell Scripts变的非常简单。 在开发Web,GUI,数据库或控制台程序时 通过减少框架性代码 大大提高了开发者的效率。 支持单元测试和模拟(对象),可以简化测试。 无缝集成 所有已经存在的 Java对象和类库。 直接编译成Java字节码,这样可以在任何使用Java的地方都可使用Groovy。
|