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

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

内容简介:Apache Groovy 2.4.16该版本包含下载地址:

Apache Groovy 2.4.16 发布了 ,此版本是 GROOVY_2_4_X 分支的维护版本。虽然官方建议迁移到当前的 2.5.x 版本(目前为 2.5.4), 但对于任何无法升级到 2.5 且使用 2.4.x 版本的用户, 强烈建议升级到此版本,

该版本包含 18 处 错误修复/改进:

Bug

  • [ GROOVY-7202 ] - Unable to resolve nested enum of parent class when compiling against binary parent

  • [ GROOVY-7536 ] - Problem with Java Stubs Related to a Trait with Property

  • [ GROOVY-7647 ] - Incorrect line information for debug

  • [ GROOVY-8008 ] - @CompileStatic causes failure to compile Groovy class that calls overloaded Java method

  • [ GROOVY-8224 ] - Stubs for classes implementing traits with fields don't include getters/setters

  • [ GROOVY-8505 ] - ArrayIndexOutOfBoundsException with @Nullable change

  • [ GROOVY-8531 ] - Fail to resolve type defined in super class written in Java

  • [ GROOVY-8537 ] - GroovyCollections.combinations(Iterable) exhibits incorrect (asymmetric) behavior

  • [ GROOVY-8539 ] - Groovy fails to compile assignment operators on boolean array

  • [ GROOVY-8600 ] - BUG! exception in phase 'instruction selection'

  • [ GROOVY-8614 ] - Invalid reference generated in InnerClasses attribute for nested interface

  • [ GROOVY-8742 ] - Line number information for method is confusing debugger

  • [ GROOVY-8757 ] - Incorrect bytecode produced after compiling class implementing trait with generic method

  • [ GROOVY-8876 ] - groovydoc fails with "java.lang.StringIndexOutOfBoundsException: String index out of range: -1" on file with no extension

改进

  • [ GROOVY-4585 ] - backslash can not be escaped by `SimpleTemplateEngine`

  • [ GROOVY-8576 ] - Remove Java2GroovyMain dependency on commons-cli

Task

  • [ GROOVY-8528 ] - Bump ASM to 6.1.1 in 2_4_X

  • [ GROOVY-8529 ] - InvocationWriter also needs fix for calling static interface methods

下载地址: http://www.groovy-lang.org/download.html

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

Groovy主要的特点包括:

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

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

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

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

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

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

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

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

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


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

RabbitMQ实战

RabbitMQ实战

Alvaro Videla、Jason J. W. Williams / 汪佳南 / 电子工业出版社 / 2015-10 / 75.00元

本书对RabbitMQ做了全面、翔实的讲解,体现了两位专家的真知灼见。本书首先介绍了有关MQ的历史,然后从基本的消息通信原理讲起,带领读者一路探索RabbitMQ的消息通信世界。这当中不仅包含了针对单台RabbitMQ服务器和RabbitMQ集群的讲解,还教导读者如何使用各种工具来进行监控。 本书内容浅显易懂,文笔风趣幽默。书中包含了丰富的、可以运行的示例程序源代码,读者可以自行下载并运行,......一起来看看 《RabbitMQ实战》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具