Apache Groovy 2.5.0-rc-2 released with 16 fixes and improvements

  

Apache Groovy 2.5.0-rc-2 has been released. This release contains 16 bug fixes/improvements:

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

new features

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

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

Improve

  • [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

Dependency upgrade

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

Groovy is a JVM-based agile development language that combines many powerful features of Python, Ruby, and Smalltalk.

Key Groovy  features include:

  • Is an agile dynamic language based on the Java virtual machine .

  • Build on the powerful Java language and add many features learned from languages ​​like Python, Ruby, and Smalltalk .

  • Provides Java developers with features of the most popular programming language of the modern era at a very low cost (nearly zero) to learn.

  • Supports DSL (Domain Specific Languages) and other concise syntax to make your code easier to read and maintain.

  • Goovy has native typing, object orientation and an Ant DSL that makes creating Shell Scripts very easy.

  •  It greatly improves developer efficiency by reducing framing code when developing Web, GUI, database or console programs .

  • Unit testing and mocking (objects) are supported, which can simplify testing .

  • Seamless integration  of all existing  Java objects and class libraries .

  • Compiles directly to Java bytecode, so you can use Groovy anywhere Java is used.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325614544&siteId=291194637