A multi-faceted language tool for the Java platform!

Groovy

Groovy 2.5.16

  -  42.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 2.5.16.


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 2.5.16 Screenshots

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

    Groovy 2.5.16 Screenshot 1

What's new in this version:

Fixed:
- STC: method call with GString elements in list/array has different error from assignment
- STC: NamedParams error for method call argument
- Private setter method in class that is extended by another class cannot be found.
- STC: return type for unresolved placeholder with bound resolved to Object
- SC: closure with variadic parameter
- SC: closure with default argument(s)
- Static compiler incorrectly typechecks extension modules
- SC: runtime error for default argument call expression
- STC error for call to static trait method from closure
- NPE in InnerClassVisitor for non-static inner class CCE within two AICs
- RootLoader cannot be set as system class loader in Java 12+
- @NamedVariant with primitives can't find method
- STC: instanceof and for-in variable type
- NoSuchMethodError during static field inlining is not caught, unlike NoSuchFieldException
- java.lang.VerifyError using property inside enum's constant
- ASTTest cannot reference types from transform classpath
- Ivy library threadsafe bug cause dependency resolve failed
- @NamedVariant: Default parameters on ctor/method are ignored when passing some named parameters
- MethodNode#getText can output incorrect modifiers
- Regression with static and non static class mixing
- MissingMethodException in method with default parameter in trait - regression in 3.0.9
- Error for super class and super interface methods of same name
- Static import is not applied for custom println method since 2.5.1
- SC: stack overflow for optimized boolean on private inner class with inner class(es)
- Compilation of constructor calls inside CompileDynamic constructors fails with ArrayIndexOutOfBoundsException
- 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
- Source encoding incorrectly set in v4.0.0
- NamedVariant: NamedParam not checked when added by transform
- NamedVariant: default value overrides supplied value if it's falsy
- NamedVariant: non-trivial default value of NamedDelegate property
- Script @groovy.transform.Field AST transformation generics handling with fully qualified types
- Expression underlying a spread map expression is evaluated twice
- Joint compiler + @Delegate fail to recognize method signature with default value
- @Delegate to a method with optional params
- Statically imported method vs other methods with the same name
- Static property reference from static context in script does not compile
- Accessing private constructor from a static factory
- Log4j, Commons, Slf4j ast transforms are broken in Groovy-Eclipse
- Problems with implicit closures inside of @Category-annotated classes
- Problem With Anonymous Inner Enum
- Bug with annotation with closure on method of anonymous class
- Cannot mutate private field from within an AIC or a closure
- Cannot call Trait method from Closure when using static compilation
- java.lang.VerifyError when initializing object of inner class within the constructor of its containing class
- Can not see local variable from overriden method called from the constructor of an anonymous class instance
- Expect compilation error while resolving generic types
- Could not call constructor of inner class from anonimous class inside closure
- Stack overflow between WideningCategories lowestUpperBound and parameterizeLowestUpperBound
- Anonymous inner class results in cast exception with @Category applied
- Local variable is accessible via explicit this
- CompileStatic fails with Guava Multimap#asMap
- Putting key on generic Map fails when using CompileStatic
- += in CompileStatic dynamically sets property instead of using setter
- Cannot resolve array of inner class from type in same package (no import)
- CLONE - Compile Static causes getAt to fail (advanced cases)
- Default Arguments: reference to another defaulted parameter causes run-time errors
- @NamedParam arguments don't get their default value when only named parameters are used in the method call
- Issue using @MapConstructor and @NamedVariant
- AIC in default argument expression of static method causes class cast exception
- Groovy 2.5 AnnotationCollector not generating expected bytecode
- Unqualified reference to inner class of super class does not support package-private visibility
- @CompileStatic is not propagated to anonymous class
- Cannot call private member of containing class in @CS
- Shift operator used in field initial value expression causing incorrect type conversion
- STC: no error for incorrect bounds match
- CCE in closure shared variable assignment
- Groovy completely ignores @GrabResolver annotation
- Access to outer class private field from closure leads to ClassCastException (@CompileStatic)
- Field initialized in a trait using tap doesn't work correctly
- STC: no error for if (!(x instanceof T)) x.methodFromT()
- Groovy 3 Compilation Failure with method with argument Class<?> called with Class<D>
- Static compiler infers wrong type for implicitly shared variables
- VerifyError when referencing a private enum method
- Failed to reload classes with generic parameters
- Class-Level Closure Definition With Generics Fails TypeChecked
- ASTNode.hashCode violates Object.hashCode contract: does not return consistent value
- SC: calling trait method inside closure has incorrect receivers data
- Class generation regression in 3.0.5-ss: This method should not have been called
- @Sortable annotation always sorts by the parent properties
- STC: error for addAll with collect argument
- Regression in groovyc 3.0 and 4.0 and Compile static with generic static method in trait
- Static compile of dynamically generated code produces different output in a top-level class and a nested class
- Compiler does not resolve compile-time constants in string concatenation
- General error during instruction selection: ClassCastException
- STC: field or property with parameterized SAM-type and closure initializer
- STC doesn't coerce GString in certain ternary expressions
- Static type checking can't find default method overload on interface
- Generic typecheck in @DelegatesTo doesn't work
- STC: @DelegatesTo error for incomplete arguments linked to first line of source
- NPE in static compiler when calling pathological method signature
- int reference seems to not use its wrapper class
- VerifyError when instantiating class with @CompileStatic that implements a method with @DelegatesTo annotation.
- STC: Cannot find matching method when using Generics
- @TypeChecked: Closure<String> no longer compatible with Closure<GString> argument
- @CompileStatic with Method References
- STC: cast or coerce to functional interface fails to infer param types of closure/lambda

Dependency upgrade:
- Bump logback to 1.2.10 (test dependency)
- Bump slf4j to 1.7.36 (test dependency)
- Bump log4j2 version to 2.12.4 (test dependency)

Improvement:
- STC sometimes requires explicit closure to SAM cast inside of another closure
- IndexedProperty AST transform should only provide the getter for immutable fields
- Java8 does not load enum values into annotation attributes
- SC: optimize for-in loop on array with dynamic variable
- TraitComposer should mark generated methods as @Generated
- Type argument checking
- @Delegate should check property/method names for annotation attributes like includes/excludes
- Compile error needed for illegal field modifier combination