Changelog for Groovy 3.0.2

Bug

  • [GROOVY-9185] - groovyc doesn't keep RetentionPolicy in generated bytecode
  • [GROOVY-9399] - Annotations on annotation methods are missing in the AST
  • [GROOVY-9400] - Regression in end of line handling between 2.5.9 and 3.0.0
  • [GROOVY-9402] - Groovy 3.0.0 not working in OSGi container
  • [GROOVY-9406] - `VerifyError` when annotating with both @InheritConstructors and @NullCheck and calling the resulting c'tor
  • [GROOVY-9409] - org.codehaus.groovy.runtime.callsite.GroovySunClassLoader is unusable
  • [GROOVY-9410] - Writable is not on classpath for compilation when using maven repository
  • [GROOVY-9412] - enum added to List fails TypeChecked
  • [GROOVY-9413] - Groovy 3.0 seem to have a problem with <?>, can't handle it in Java interface method when called from Groovy.
  • [GROOVY-9414] - Groovy 3.0.1 : @Delegate does not work with default getter
  • [GROOVY-9420] - Incorrect type inference on map[key]
  • [GROOVY-9424] - Incorrect handling of final variables within switch
  • [GROOVY-9429] - Illegal reflective access warnings occurred when getting property

Dependency upgrade

Improvement

  • [GROOVY-4694] - Move AstBuilderTransformation Global xForm to separate module
  • [GROOVY-9408] - Avoid unnecessary looking up default import classes when resolving types
  • [GROOVY-9417] - Make @NullCheck play nicer with @Immutable
  • [GROOVY-9430] - Added support for ScriptEngine.FILENAME behaviour
  • [GROOVY-9434] - groovyConsole UI tweak
  • [GROOVY-9437] - Bump gradle to 6.2.2

Task

  • [GROOVY-9427] - Regression in GString handling
  • [GROOVY-9433] - grammar ambiguity with ternary expression being confused with safe indexing