内容简介:Apache Groovy 2.4.10,JVM 动态脚本语言
Apache Groovy 2.4.10 了,Groovy 是一门基于 JVM 的敏捷开发语言,它结合了 Python 、 Ruby 和 Smalltalk 的许多强大的特性。
该版本是 2.4.x 分支系列的维护版本,强烈建议所有使用此分支上旧版本的用户升级到该版本。
此版本包括 12 个 bug 修复和改进:
Bug
-
[ GROOVY-6792 ] - ClassFormatError if a method has dots within its name
-
[ GROOVY-7248 ] - MissingPropertyException: No such property in finally block
-
[ GROOVY-7402 ] - Compiler NPE Related To AST Transformations And Traits
-
[ GROOVY-7797 ] - Private trait method called from within a closure has the wrong "this" context
-
[ GROOVY-7909 ] - Calling parents method from trait using Parent.super.method() fail depending on trait declaration order
-
[ GROOVY-8085 ] - Exception in "finally" not caught by outer "try"
-
[ GROOVY-8107 ] - Binary incompatibility problems between compiled code in Groovy 2.4.7 vs 2.4.9
-
[ GROOVY-8109 ] - Unsupported operator with @CompileStatic causes BUG! () during compilation
-
[ GROOVY-8110 ] - @ListenerList generated fireWhatever() method stops working
文档
-
[ GROOVY-8118 ] - Builder's DefaultStrategy has small doc error
-
[ GROOVY-8119 ] - Groovy Language Specification documentation has bad internal links to "type checking section"
改进
-
[ GROOVY-8124 ] - Include documentation in the SDKMAN install
Groovy 主要的特点包括:
-
是一个基于 Java 虚拟机的敏捷动态语言。
-
构建在强大的Java语言之上 并添加了从Python,Ruby和Smalltalk等语言中学到的诸多特征。
-
为Java开发者提供了现代最流行的编程语言特性,而且学习成本很低(几乎为零)。
-
支持DSL(Domain Specific Languages领域定义语言)和其它简洁的语法,让你的代码变得易于阅读和维护。
-
Goovy拥有处理原生类型,面向对象以及一个Ant DSL,使得创建Shell Scripts变的非常简单。
-
在开发Web,GUI,数据库或控制台程序时 通过减少框架性代码 大大提高了开发者的效率。
-
支持单元测试和模拟(对象),可以简化测试。
-
无缝集成 所有已经存在的 Java对象和类库。
-
直接编译成Java字节码,这样可以在任何使用Java的地方都可使用Groovy。
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- 凹 (“Wa”) 语言:可以嵌入 Go 语言环境的脚本语言
- Python 脚本语言
- Go 语言实现的小型、动态、快速、安全的脚本语言
- 让C#语言充当自身脚本!
- awk脚本语言编程指南
- CoffeeScript 1.12.6 发布,脚本语言
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
HTTP Essentials
Stephen A. Thomas、Stephen Thomas / Wiley / 2001-03-08 / USD 34.99
The first complete reference guide to the essential Web protocol As applications and services converge and Web technologies not only assume HTTP but require developers to manipulate it, it is be......一起来看看 《HTTP Essentials》 这本书的介绍吧!