BT

Article: What's New in Groovy 1.5

| by Scott Delap Follow 0 Followers on Dec 10, 2007. Estimated reading time: less than one minute |
Over the weekend the Groovy team released version 1.5. In conjunction with Groovy Project Manager Guillaume Laforge, InfoQ is running an article What's new in Groovy 1.5, detailing the new features of the release.

One of the main additions in 1.5 is support for JDK 5. While Groovy still supports JDK 1.4, it can take advantage of Java 5 features such as:
  • Variable Arguments
  • Annotations
  • Enums
  • Static Imports
  • Generics

In addition to the Java 5 related features a number of syntax additions have also been made including support for classical for loops, named parameters without parenthesis, and elvis operators. Performance benchmarks place Groovy 1.5 at 15-45% faster than earlier betas. Tooling support now adds a "joint" Java/groovy compiler contributed by Jetbrains. Jetbrains will also soon be releasing the final 1.0 version of their JetGroovy plugin for IntelliJ 7.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT