In association with heise online

03 August 2009, 10:49

Next version of Groovy previewed

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

Groovy logo The Groovy developers have released a beta version of Groovy 1.7, the next version of the dynamic language for Java and the Java Virtual Machine. The beta release of the language includes initial support for anonymous inner classes and nested classes, extended support for annotations, an enhanced assert method, a viewer and builder for abstract syntax trees and a rewrite of the GroovyScriptEngine.

The extended support for annotations allows for the use of annotations within import sections, allowing the @grab annotation from Grape, the dependency resolver, to be used at the start of a file, rather than embedded within the code. The improved assert method gives more detailed and easier to read results when an assertion fails. According to the draft of the planned 1.7 changes the Groovy console now remembers its font and size preferences and there are improvements in SQL handing with new addBatch and withTransaction methods to support batch updates and transactions.

The Groovy developers also released a bug fix and minor enhancements release of Groovy 1.6, Groovy 1.6.4 and the SpringSource developers announced that the first pre-release of the next version of Eclipse Groovy Tools is now available for Eclipse 3.4.2 and 3.5. Both new versions of Groovy are available to download and are licensed under the Apache Licence 2.0.

See also:

(djwm)

Print Version | Send by email | Permalink: http://h-online.com/-742769
 


  • July's Community Calendar





The H Open

The H Security

The H Developer

The H Internet Toolkit