Apache Groovy 2.5.0-rc-2 发布,包含 16 处修复和改进

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Apache Groovy 2.5.0-rc-2 已发布。此版本包含 16 处错误修复/改进: Bug [GROOVY-6523] - Improve Documentation for in DefaultGroovyMethods.intersect(..) [GROOVY-7202] - Unable to resolve nested enum of...

Apache Groovy 2.5.0-rc-2 已发布。此版本包含 16 处错误修复/改进:

Bug

  • [GROOVY-6523] - Improve Documentation for in DefaultGroovyMethods.intersect(..)

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

  • [GROOVY-8211] - ArrayIndexOutOfBoundsException at compilation when accessing a generic type with the wrong number of type parameters

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

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

  • [GROOVY-8541] - Incorrect packaging in groovy-all pom

  • [GROOVY-8545] - DGM#intersect(Set, Iterable) throws ClassCastException if Iterable larger than Set

新特性

  • [GROOVY-8558] - Add DGM `getLocation` to get the url of the jar containing the specified class

  • [GROOVY-8559] - CLONE - Add @Repeatable java8 annotation support

改进

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

  • [GROOVY-8472] - Final variable analysis doesn't account for early exit for try/catch/finally

  • [GROOVY-8490] - Extend @Newify to support a class name pattern parameter

  • [GROOVY-8520] - Replace commons-cli with picocli in CliBuilder

  • [GROOVY-8521] - Create new groovy-cli-commons module

  • [GROOVY-8548] - DGM#intersect should provide a variant with a comparator

依赖升级

下载地址: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 。


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

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

失业的程序员

失业的程序员

沈逸 / 2014-5-1 / 39.00元

这是一个程序员从失业到自行创业的奋斗历程,虽然囧事连连、过程曲折,却充满了趣味。本书以作者的真实创业经历为主线,文字幽默诙谐,情节生动真实,包括了招聘、团队管理和用户公关,以及技术架构设计、核心代码编写、商务谈判、项目运作等场景经验。 从初期的创业伙伴、领路人,到商业竞争对手,各种复杂的关系在各个关键时刻却都发生了意想不到的逆转。在历经千辛万苦,眼看快要成功时,主人公却几乎再次失业。 ......一起来看看 《失业的程序员》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换