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

Groovy 4.0.4

  -  44.13 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.4.


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.4 Screenshots

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

    Groovy 4.0.4 Screenshot 1

What's new in this version:

Fixed:
- Cannot compile when set short value to annotation by already defined short variable since version 2.5.4
- STC: cannot combine use-variance with bounded polymorphism
- STC: closure parameter type-checking: declared vs inferred
- Groovydoc noscripts and nomainforscripts options no longer work
- Invalid type substitution when encountering bounded type parameter and the diamond operator
- STC: closure parameter type inference for raw type that is iterable over type parameter
- Cannot pass enum literal to ASTTransformationCustomizer
- Parrot Parser: named arguments does not support all key expressions
- Fail to substitute type variable when encountering conflicting type parameter with a bound
- PackageHelperImpl#getPackageNames unable to find package from path or jars that contains plus sign
- Wrong Type-Inference in `instanceof` block
- STC fails to compile AssertJ fluent API expression
- STC inferred type lost in nested closure
- Covariant override method regression
- ErrorReporter (used by FileSystemCompiler) can throw an IOOB exception on files with CR only
- Annotations not being correctly placed in native records
- Groovysh doesn't handle multiline strings with """ or ''' correctly
- dump() method produces errors
- POJO transform applies to only top-level types
- Running :show all command throws StackOverflowError
- Integer literal not accepted for primitive short annotation attribute
- Implicit closure coercion doesn't work for elements of array of functional objects
- Make for-in null safe for CompileStatic
- Groovy compiler doesn't generate InnerClasses attribute for nested class names mentioned in the class file
- Specify primitive annotation default value using number literal with cast/coerce
- Cannot use annotation with attribute of type char
- Unable represent literal byte costant
- groovydoc: java classes don't seem to extend object
- STC doesn't consider switch-expression type for closure cases
- NPE when processing the AST of nested annotations from JAR files
- AnnotationConstantExpression#visit visits its members values first before visiting itself

Dependency upgrade:
- Bump log4j2 version to 2.18.0 (test dependency)
- Bump Spotbugs/Spotbugs annotations to 4.7.1 (build dependency)

Improved:
- SC: support extension or variadic method reference with instance expression
- STC: infer closure/lambda parameter types for return expression
- Support launching of ObjectExplorer when property rows are double-clicked
- Add some other known "internal" packages to the sanitized stacktrace list.
- GroovyConsole should display record components
- Support opening the Object browser from within the AST browser
- Add tooltips for Object/AST browser to display contents for narrow columns
- Groovydoc for Groovy 3+ documents classes at too early a phase of compilation
- Support matching functional interface to variadic method reference

Join our mailing list

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

Subscribe