Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News Article: What's New in Groovy 1.5

Article: What's New in Groovy 1.5

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.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


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.

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

Community comments

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

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


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.