Apache Groovy 2.4.9 发布,JVM 动态脚本语言

栏目: Groovy · 发布时间: 8年前

内容简介:Apache Groovy 2.4.9 发布,JVM 动态脚本语言

Apache Groovy 2.4.9 发布了,Groovy 是一门基于 JVM 的敏捷开发语言,它结合了 PythonRuby 和 Smalltalk 的许多强大的特性。

该版本是 GROOVY_2_4_X 分支的维护版本。强烈建议所有使用此分支上旧版本的用户升级到该版本。

此版本包含12个 bug 修复和改进:

  • [ GROOVY-8023 ] - Compile time increases exponentially when compiling Class implementing a Trait

  • [ GROOVY-8026 ] - Matcher indexed via IntRange with startIdx..-1 does not return "intermediate" range matches

  • [ GROOVY-8030 ] - An unexpected error has occurred when using 'kkk = kkk + 12'

  • [ GROOVY-8033 ] - STC: spread property references fails in static method

  • [ GROOVY-8048 ] - final fields for pre-compiled traits aren't processed correctly

  • [ GROOVY-8060 ] - @Log annotation does not check logging enablement inside closures which are arguments to methods

  • [ GROOVY-8065 ] - Map created as org.springframework.http.HttpHeaders is empty in 2.4.8, works fine in 2.4.7

  • [ GROOVY-8066 ] - protected fields should be disallowed in traits

  • [ GROOVY-8067 ] - Possible deadlock when creating new ClassInfo entries in the cache

  • [ GROOVY-8068 ] - improper logging in groovy.sql.Sql

  • [ GROOVY-8069 ] - Annotation based logging of complex expression in closure throws GroovyCastException when statically compiled

  • [ GROOVY-8082 ] - Groovy sql.rows returns org.postgresql.util.PSQLException: No hstore extension installed

下载地址:

http://www.groovy-lang.org/download.html

Groovy 主要的特点包括:

  • 是一个基于 Java 虚拟机的敏捷动态语言。

  • 构建在强大的Java语言之上 并添加了从Python,Ruby和Smalltalk等语言中学到的诸多特征。

  • 为Java开发者提供了现代最流行的编程语言特性,而且学习成本很低(几乎为零)。

  • 支持DSL(Domain Specific Languages领域定义语言)和其它简洁的语法,让你的代码变得易于阅读和维护。

  • Goovy拥有处理原生类型,面向对象以及一个Ant DSL,使得创建Shell Scripts变的非常简单。

  • 在开发Web,GUI,数据库或控制台程序时 通过减少框架性代码 大大提高了开发者的效率。

  • 支持单元测试和模拟(对象),可以简化测试。

  • 无缝集成 所有已经存在的 Java对象和类库。

  • 直接编译成Java字节码,这样可以在任何使用Java的地方都可使用Groovy。


以上所述就是小编给大家介绍的《Apache Groovy 2.4.9 发布,JVM 动态脚本语言》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Essential ActionScript 3.0

Essential ActionScript 3.0

Colin Moock / Adobe Dev Library / June 22, 2007 / $34.64

ActionScript 3.0 is a huge upgrade to Flash's programming language. The enhancements to ActionScript's performance, feature set, ease of use, cleanliness, and sophistication are considerable. Essentia......一起来看看 《Essential ActionScript 3.0》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

在线进制转换器
在线进制转换器

各进制数互转换器