Fork me on GitHub

Changelog for Groovy 2.1.7


  • [GROOVY-5261] - A static method call inside a static closure bypasses closure delegate behavior
  • [GROOVY-5610] - Type checking of method calls using generics and default values is not supported
  • [GROOVY-5742] - CompileStatic goes into infinite loop when handling self-referential generics
  • [GROOVY-5839] - Typechecker does not detect shadowed generic parameter
  • [GROOVY-5873] - Type checker does not infer generic type
  • [GROOVY-5882] - @CompileStatic breaks with generic boxed numerics
  • [GROOVY-5883] - @CompileStatic incorrectly inferred closure return type upper bound
  • [GROOVY-5885] - @CompileStatic incorrectly infers generic return type
  • [GROOVY-5891] - Static compiler wrongly infers the return type of Class<T>.cast()
  • [GROOVY-5920] - Type not inferred from Iterator<Data<String>>
  • [GROOVY-6048] - Generated Java stub for inner interface with generics fails to compile
  • [GROOVY-6056] - @Lazy(soft=true) not quite right
  • [GROOVY-6155] - Can't access private static constant from closure, when using @CompileStatic
  • [GROOVY-6199] - @CompileStatic class throws runtime errors accessing outer class methods inside nested closures
  • [GROOVY-6249] - "int not-equal int" compiled using slow path in static complation mode
  • [GROOVY-6251] - Grab of an extension module with a transitive dependency fails
  • [GROOVY-6262] - Sql.withTransaction setAutoCommit in finally not wrapped in try/catch
  • [GROOVY-6266] - 'class generation' bug when CompileStatic with HashMap and List
  • [GROOVY-6270] - Verifyerror in static compiled code
  • [GROOVY-6272] - Cannot define a no-args closure in Groovy Shell
  • [GROOVY-6275] - DOMCategory: text() doesn't get node value if it is a CDATA section
  • [GROOVY-6288] - Overloaded operator with return type
  • [GROOVY-6289] - Null arg call not ambiguouseven though it should be
  • [GROOVY-6295] - GroovyDoc doesn't escape angle brackets in @code and @literal tags
  • [GROOVY-6300] - JavaStubGenerator clears instance initializers
  • [GROOVY-6311] - Using @CompileStatic on code that uses spread operator on a Set results in compilation error
  • [GROOVY-6317] - @CompileStatic on class using with(Closure) leads to compilation error.


  • [GROOVY-6269] - Document limitation of normal map-style constructor use when using @Immutable