Changelog for Groovy 2.5.1


  • [GROOVY-5423] - Wrong Method Being Invoked - Related To Static Imports
  • [GROOVY-7536] - Problem with Java Stubs Related to a Trait with Property
  • [GROOVY-8008] - @CompileStatic causes failure to compile Groovy class that calls overloaded Java method
  • [GROOVY-8224] - Stubs for classes implementing traits with fields don't include getters/setters
  • [GROOVY-8233] - Java stub generation incorrect for static properties of traits
  • [GROOVY-8281] - Final field is null in trait, but it has assigned value
  • [GROOVY-8389] - Static import of a property messes with instance method
  • [GROOVY-8505] - ArrayIndexOutOfBoundsException with @Nullable change
  • [GROOVY-8583] - Fail to infer auto-return type from ternary operator
  • [GROOVY-8595] - Expected parameter of type XXX but got YYY static compile error
  • [GROOVY-8609] - Fails to compile when upper bound has generics
  • [GROOVY-8610] - STC NPE using DGM collect on Iterator
  • [GROOVY-8614] - Invalid reference generated in InnerClasses attribute for nested interface
  • [GROOVY-8616] - groovy.util.CliBuilder not brought in by groovy-all pom
  • [GROOVY-8624] - File descriptor leaks in compiler and runtime
  • [GROOVY-8627] - Compile error using NamedParam with value
  • [GROOVY-8628] - Groovydoc fails to parse static nested classes with diamond operator
  • [GROOVY-8629] - Groovy STC fails on the nested method call in constructor call
  • [GROOVY-8632] - Groovy 2.5.0 fails to compile Google Java Client sample code
  • [GROOVY-8637] - @NamedVariant processing error
  • [GROOVY-8644] - Groovy 2.5 binary JARs not available at Maven Central
  • [GROOVY-8654] - Can't compile documentation, no Gradle task defined for this
  • [GROOVY-8666] - groovy-all pom approach breaks OSGi due to split-packages
  • [GROOVY-8675] - GenericsUtils.PARAMETERIZED_TYPE_CACHE is static and private
  • [GROOVY-8694] - Ant doco still referenced groovy-all jar plus missing some attributes

Dependency upgrade



  • [GROOVY-8615] - typo in directory name causing java.time extension methods not to appear in doco
  • [GROOVY-8621] - Grape command line tool synopsis improvement
  • [GROOVY-8622] - Groovy Console should have an option to list its current classpath
  • [GROOVY-8623] - Groovy Object Browser within Groovy Console could show Groovy version in about help
  • [GROOVY-8630] - Refine the parameterized type cache
  • [GROOVY-8635] - Make some groovy classes of groovy console compile static
  • [GROOVY-8670] - Make groovy-bsf an optional "module" for 2.5.1+, i.e. not reference by groovy-all *
  • [GROOVY-8671] - Move JaxbGroovyMethods into their own optional groovy-jaxb "module" *
  • [GROOVY-8679] - BigDecimalMath.MAX_DIVISION_SCALE is hard-coded


* potentially breaking change (read issue for details - even minor differences are sometimes flagged as potentially breaking changes)