A multi-faceted language tool for the Java platform!

Groovy

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe
Download Groovy 4.0.1

Groovy 4.0.1

  -  43.98 MB  -  Open Source

Sometimes latest versions of the software can cause issues when installed on older devices or devices running an older version of the operating system. Software makers usually fix these issues but it can take them some time. What you can do in the meantime is to download and install an older version of Groovy 4.0.1.


For those interested in downloading the most recent release of Groovy or reading our review, simply click here.


All old versions distributed on our website are completely virus-free and available for download at no cost.


We would love to hear from you

If you have any questions or ideas that you want to share with us - head over to our Contact page and let us know. We value your feedback!

  • Groovy 4.0.1 Screenshots

    The images below have been resized. Click on them to view the screenshots in full size.

What's new in this version:

Fixed:
- Dynamic Groovy code in Gradle doesn't compile because of $getLookup() method is not static
- Path to a problematic file isn't shown in the error message sometimes if compilation fails with IndexOutOfBoundsException
- Gradle multimodule project fails with NoClassDefFoundError in groovyjarjarasm.asm.signature.SignatureReader.parseType
- Wrong cast for type parameter in generated stubs
- Consolidation of VMPlugin didn't account for API calls in the Groovy runtime
- Compilation fails with method detected as transient
- @AutoImplement is failing when covariant returns are involved
- Groovy4: java.lang.VerifyError: Bad invokespecial instruction: interface method reference is in an indirect superinterface.
- Source encoding incorrectly set in v4.0.0
- NamedVariant: NamedParam not checked when added by transform
- Wrong IntRange.by(...) behaviour for left-open ranges
- NamedVariant: default value overrides supplied value if it's falsy
- NamedVariant: non-trivial default value of NamedDelegate property
- NamedVariant: improve consistency of default value treatment
- v9 ClassFinder closes existing FileSystems that it doesn't own
- Source locations of command chain expressions
- Problems with implicit closures inside of @Category-annotated classes
- MapWithDefault should be able to be configured to not store its default value
- Local variable is accessible via explicit this
- Implementing Groovy interface with default methods can cause compile issues.

Dependency upgrade:
- Bump gradle to 7.4 (build dependency)
- Bump gradle versions plugin to 0.42.0 (build dependency)
- Bump gson (test dependency) to 2.9.0
- Bump json-unit (test dependency) version to 2.31.0
- Bump checkstyle to 9.3 (build dependency)
- Bump xstream to 1.4.19
- Bump jqwik to 1.6.4 (test dependency)
- Bump picocli to 4.6.3
- Bump slf4j to 1.7.36 (test dependency)
- Bump Spock to 2.1-groovy-3.0 (test dependency)
- Bump japicmp plugin to 0.3.1 (build dependency)
- Bump json-unit (test dependency) version to 2.32.0

Documentation:
- Ability to define system properties for groovyc using CompilerConfiguration
- DefaultGroovyMethods.get() unexpectedly puts the default value into the origin map

Improvement:
- STC: for-each loop on iterable-like types
- SC: optimize for-in loop on array with dynamic variable
- TraitComposer should mark generated methods as @Generated
Static type checking failure for streams and spread operator

New Feature:
- groovy.sql.Sql : provide a way to get the SQLWarning of a Statement

Task:
- Disable Ant tests which don't fork under JDK18

Join our mailing list

Stay up to date with latest software releases, news, software discounts, deals and more.

Subscribe