Release Notes - groovy - Version 2.1.4 - HTML format

Bug

  • [GROOVY-5449] - NullPointerException in compiler when using @Immutable
  • [GROOVY-5921] - BUG! exception in phase 'class generation' while poping argument from operand stack tracker
  • [GROOVY-6029] - GString not properly coerced to long
  • [GROOVY-6063] - In CompileStatic mode, GString & String are mismatched
  • [GROOVY-6095] - Static checker fails on correct code
  • [GROOVY-6098] - @CompileStatic fails to compile when accessing boolean property using "isPropertyName()" getter method
  • [GROOVY-6099] - @CompileStatic gives ClassCastException at runtime when calling methods on Object in some scenarios
  • [GROOVY-6100] - @CompileStatic fails to compile when using constants declared on interfaces implemented by super class
  • [GROOVY-6101] - verify error with compile static
  • [GROOVY-6104] - Unable to access static interface fields from classes annotated with @CompileStatic
  • [GROOVY-6108] - Null-safe operator on lhs of comparison may lead to NPE with @CompileStatic
  • [GROOVY-6109] - Access to java.lang.Object#delegate is forbidden with Gaelyk
  • [GROOVY-6113] - Class with @CompileStatic throws VerifyError when passing int constant to method taking varargs object array
  • [GROOVY-6114] - Class with @CompileStatic, @Immutable, and a List property causes a compiler exception to be thrown
  • [GROOVY-6119] - Type checker doesn't recognize explicit map constructor
  • [GROOVY-6122] - FilteredNodeChildren doesn't provide childNodes() iterator
  • [GROOVY-6124] - Cannot use array slice with @CompileStatic
  • [GROOVY-6127] - VerifyError "Incompatible argument to function" when returning value from function after instanceof check in a function that should return Object (bug in inference base return type selection)
  • [GROOVY-6129] - @CompileStatic def map = new HashMap<>() crashes compiler
  • [GROOVY-6131] - Surprising Behavior With @CompileStatic And Collection.putAt
  • [GROOVY-6133] - bad example in comment of SourceAwareCustomizerFactory(source(basenameVaidator:{}))
  • [GROOVY-6137] - CompileStatic: in operator (isCase) isn't null safe in CS mode
  • [GROOVY-6147] - CompileStatic: dispatch bug with overloaded method when last argument is an array and there is an separate method without the last array argument
  • [GROOVY-6153] - SecureASTCustomizer using whitelist does not work deterministically
  • [GROOVY-6158] - Missing directory entries in groovy-all JAR
  • [GROOVY-6162] - 'this' in static context not treated as class by @CompileStatic
  • [GROOVY-6165] - Incorrect property lookup if a method starts with "get"
  • [GROOVY-6171] - Memory tweaks for groovy compiler
  • [GROOVY-6180] - Type checker skip mode not always applied to anonymous inner classes
  • [GROOVY-6183] - Errors with static attribute expression

Improvement

  • [GROOVY-6112] - Support AST transforms on the field generated by @Field in scripts
  • [GROOVY-6160] - @DelegatesTo should be @Documented

Task

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.