Changelog for Groovy 2.5.6

Bug

  • [GROOVY-7160] - NoSuchMethodError for varargs when type parameter extends interface
  • [GROOVY-7687] - Bug with @CompileStatic and nested closures
  • [GROOVY-7812] - Static inner classes cannot be accessed from other files when running by 'groovy' command
  • [GROOVY-8073] - Map delegate within @CompileStatic
  • [GROOVY-8238] - multiple-catch statement behaves strangely
  • [GROOVY-8272] - Extending trait can't execute static method
  • [GROOVY-8468] - @CompileStatic runtime error when call java implemented method that returns generic-array value
  • [GROOVY-8873] - Fails at runtime with @CompileStatic and two nested with
  • [GROOVY-8951] - Traits defining getter conflicts with generated getter (improvements for pre-compiled case)
  • [GROOVY-8954] - VerifyError due to incorrect bytecode produced when a trait super property call also comes from an interface
  • [GROOVY-8959] - NPE in StaticVerifier
  • [GROOVY-8964] - MissingMethodException when trying to resolve overload with variable arguments
  • [GROOVY-8967] - @Immutable not handling property default values from map constructor
  • [GROOVY-8969] - Parameter name data is erased when applying traits regardless of --parameters setting
  • [GROOVY-8970] - Fix typo in MANIFEST.MF: Main-class
  • [GROOVY-9088] - Groovy with @Compilestatic problem

Dependency upgrade

Improvement

  • [GROOVY-8535] - FieldNode constructor appears to call setType incorrectly
  • [GROOVY-8719] - Add DelegatesTo annotation to CompilerCustomizationBuilder.withConfig
  • [GROOVY-8971] - The VMPlugin configureClassNode method should retain parameter name information when available
  • [GROOVY-8972] - CompilationUnit#createClassVisitor should use the class node resolver rather than the class loader directly

Sub-task

  • [GROOVY-2773] - Strange behaviour when passing chained methods (methodA().methodB().etc()) as parameters
  • [GROOVY-3446] - Method call resolves to statically imported method instead of equally named local method
  • [GROOVY-4287] - CLONE - import of static nested classes in external groovy files is broken
  • [GROOVY-5852] - Static import on demand resolves capitalised reference