Changelog for Groovy 2.5.8

Bug

  • [GROOVY-7452] - Cannot reference inner classes of super classes by short name
  • [GROOVY-8002] - Static compilation drops source position for method calls
  • [GROOVY-8053] - Groovyc: anonymous class in static method cannot access its fields without "this"
  • [GROOVY-8169] - StaticCompilationVisitor.visitForLoop sets Parameter origin type, which prevents access to original source type and location
  • [GROOVY-8394] - @CompileStatic doesn't respect resolve strategy on closures
  • [GROOVY-8418] - getSet* property name => Cannot read write-only property exception
  • [GROOVY-8442] - java.lang.VerifyError: Bad <init> method call from inside of a branch
  • [GROOVY-8572] - Groovy 2.4.12 Static compiler fails on nonsense type inference error
  • [GROOVY-8940] - Cannot create package-private annotation type
  • [GROOVY-9005] - SomeClass.groovy: -1: Access to java.lang.Object#this is forbidden @ line -1, column -1
  • [GROOVY-9054] - @groovy.transform.builder.Builder should generate @Generated annotations for build(), builder() and setter methods
  • [GROOVY-9115] - General error during class generation
  • [GROOVY-9121] - Default compiler configuration is modified by GroovyMain
  • [GROOVY-9123] - "java.nio.file.Path.setText" does not work with CompileStatic on Groovy 2.5.7
  • [GROOVY-9136] - Compile error when accessing a public field inside a closure
  • [GROOVY-9141] - NPE: Groovy compiler error: exception in phase 'conversion' in source unit
  • [GROOVY-9147] - Using 'File.text = ' cause FileNotFoundException in Groovy 2.5.7 with @CompileStatic
  • [GROOVY-9153] - StaticInvocationWriter modifies shared global node ConstantExpression.NULL
  • [GROOVY-9161] - Sortable AST transform replaces custom compareTo method
  • [GROOVY-9162] - AutoClone AST transform replaces custom clone method
  • [GROOVY-9163] - AutoExternalize AST transform replaces custom read/write method
  • [GROOVY-9170] - The method clone should be public as it implements the corresponding method from interface java.lang.Object
  • [GROOVY-9171] - Static compiler ASM error for methods with identical names
  • [GROOVY-9176] - Syntactic sugar for set method calls in conflict with class member declarations
  • [GROOVY-9184] - CLONE - Use of an inner enum causes compilation to go into infinite loop - antlr2 fix
  • [GROOVY-9200] - StringIndexOutOfBoundsException in AstBrowser

Dependency upgrade

Improvement

  • [GROOVY-9109] - Groovysh: Do not force override classloader if user supplied is already GroovyClassLoader
  • [GROOVY-9122] - code smell in ProcessingUnit *
  • [GROOVY-9135] - Additional support for @Testable annotation in JUnit5Runner
  • [GROOVY-9199] - Code in finally block is ignored in IntelliJ IDEA debugger
  • [GROOVY-9210] - Missing TextfierSupport from asm-util

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