Changelog for Groovy 2.4.1

Bug

  • [GROOVY-4852] - Constant Optimization is a little off
  • [GROOVY-4918] - GetEffectivePojoPropertySite#acceptGetProperty may produce a NullPointerException when provided with a null 'receiver' object
  • [GROOVY-6349] - Static type checking error when accessing class of a primitive type
  • [GROOVY-6351] - Static type checking error when accessing static members of a primitive type
  • [GROOVY-6590] - field on primitive not recognized even if existing in wrapper type
  • [GROOVY-6697] - Setting property in trait using "super" doesn't work
  • [GROOVY-7000] - Support MarkupTemplateEngine integration with TemplateServlet
  • [GROOVY-7173] - jsonslurper does not unescape Strings (sometimes) on parsing with JsonParsingUsingCharacterSource
  • [GROOVY-7180] - Download links of http://groovy-lang.org/install.html is broken
  • [GROOVY-7240] - Unable to start dollar slashy strings with an escaped dollar
  • [GROOVY-7243] - @Delegate does not honor "includes" on properties - all properties are delegated
  • [GROOVY-7255] - Problem With @CompileStatic And Static Trait Members
  • [GROOVY-7261] - @Lazy should work in combination with @Delegate
  • [GROOVY-7262] - There should be a TimeZone variant of the Date#parse method in DGSM
  • [GROOVY-7263] - Problem With Static Imports
  • [GROOVY-7264] - NPE in TypeResolver when access$XXX method generated for a method with generic types
  • [GROOVY-7266] - CompilationFailedException can be swallowed
  • [GROOVY-7267] - avoid hashcode based equality check without equals
  • [GROOVY-7269] - Problem With MetaMethods and replacing MetaProperty
  • [GROOVY-7273] - :doc command checks wrong api urls
  • [GROOVY-7275] - SelfType class "was not matched with found receiver" trait
  • [GROOVY-7276] - static compiler fails to eliminate dynamic property lookup
  • [GROOVY-7277] - TemplateResource.parse handles paths containing multiple dots incorrectly
  • [GROOVY-7278] - Error caused by @CompileStatic
  • [GROOVY-7280] - typo: 'possible loose of precision' should be 'possible loss of precision'
  • [GROOVY-7285] - Stackable Traits at runtime don't honor definition order
  • [GROOVY-7287] - Problem With Trait Generics With Conflicting Names
  • [GROOVY-7297] - StackOverflowError Related To Trait Generics
  • [GROOVY-7298] - NPE in TypeResolver using <T>, Closure<T> and @CompileStatic
  • [GROOVY-7300] - CompileStatic doesn't call property accessors on super classes correctly
  • [GROOVY-7302] - LazyMap size returns incorrect result for un-built maps if same key set more than once
  • [GROOVY-7336] - Not so helpful error message shown by ClassNodeResolver, after eating up the real exception

Improvement

  • [GROOVY-6658] - Set anchors for each section in Groovy Ascii docs.
  • [GROOVY-7224] - Extend @Builder InitializerStrategy to support adding the annotation to Constructors
  • [GROOVY-7228] - Minor typo in documentation for DefaultGroovyMethods.xor(left, right)
  • [GROOVY-7235] - Groovysh code completion is not compatible with JDK 9 (Jigsaw)
  • [GROOVY-7245] - Add primitive array join()