Skip to content

5.4.0 Release Notes

Eric Milles edited this page Jul 1, 2024 · 2 revisions

Greclipse 5.4.0 was released on June 30th 2024.

New and Noteworthy

Support for new versions of Groovy

  • Groovy 5.0.0-alpha-9

  • Groovy 4.0.22

  • Groovy 3.0.22

    📋 The new antlr4-based Parrot Parser is disabled by default. To enable it, add -Dgroovy.antlr4=true to your eclipse.ini file after the -vmargs line or add a compiler config script to your project with configuration.pluginFactory = org.codehaus.groovy.control.ParserPluginFactory.antlr4(). Please note that parser recovery is not implemented for the Parrot Parser, so your editing experience may be sub-par in this mode.

Support for new version of Eclipse

  • Eclipse 4.32 (2024-06)

Support for Java 22

As of Eclipse 4.32, Java 22 is supported. It can be combined with Groovy 4 or 5.

Compiler Fixes

Syntax Highlighting and Type Inferencing

  • inaccessible fields and properties

    Current:

    Previous:

  • lazy-init static field

    Current:

    Previous:

  • metaClass property write

    Current:

    Previous:

  • empty property of delegate map

    Current:

    Previous:

  • this.field reference within map-based type

    Current:

    Previous:

  • reference to public field of map-based type

    Current:

    Previous:

  • package-private field of map-based, other-package subclass

Current:

Previous:

  • other-package reference to package-private field

    Current:

    Previous:

  • same-unit subclass

    Current:

    Previous:

  • property or attribute expression within binary expression

    Current:

    Previous:

  • type-checked metaClass property

    Current:

    Previous:

  • dynamic name selector

    Current:

    Previous:

  • closure properties

    Current:

    Previous:

  • static owner and delegate of closure

    Current:

    Previous:

  • outer class field vs. dynamic property

    Current:

    Previous:

  • array clone() method

    Current:

    Previous:

Resolved Issues

  • 1548: Add support for Java 22
  • 1565: Add support for Groovy 4.0.21
  • 1566: Organize Imports drops import for same-unit inner class
  • 1567: Fix type inferencing and syntax highlighting for inaccessible fields and properties
  • 1568: Add support for Eclipse 4.32 (2024-06)
  • 1569: Fix type inferencing and syntax highlighting for lazy-init static field
  • 1570: Fix type inferencing and code navigation for metaClass property write
  • 1571: Fix type inferencing and syntax highlighting for empty property of delegate map
  • 1572: Fix type inferencing and syntax highlighting for this.field reference within map-based type
  • 1573: Fix type inferencing and syntax highlighting for reference to public field of map-based type
  • 1574: Fix type inferencing and syntax highlighting for package-private field of map-based, other-package subclass
  • 1575: Fix type inferencing and syntax highlighting for other-package reference to package-private field
  • 1576: Fix type inferencing and syntax highlighting for same-unit subclass
  • 1578: Fix source range for property or attribute expression within binary expression
  • 1579: Fix syntax highlighting and code navigation for type-checked metaClass property
  • 1580: Fix source range for dynamic name selector
  • 1582: Fix type inferencing and syntax highlighting for closure properties
  • 1583: Fix type inferencing and syntax highlighting for static owner and delegate of closure
  • 1584: Fix type inferencing and syntax highlighting for outer class field vs. dynamic property
  • 1586: Add support for Groovy 4.0.22
  • 1587: Add support for Groovy 3.0.22
  • 1588: Javadoc hover for method of parameterized type
  • 1589: Fix type inferencing for array clone() method

Update Sites

Use one of the following update sites depending on your version of Eclipse:

Archives of these update sites are also available: