Changelog for Groovy 3.0.2
Bug
- [GROOVY-9097] - STC: different errors for map[k] and map.getAt(k)
- [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-9427] - Regression in GString handling
- [GROOVY-9429] - Illegal reflective access warnings occurred when getting property
- [GROOVY-9433] - grammar ambiguity with ternary expression being confused with safe indexing
- [GROOVY-9438] - Incorrect handling of particular case statements within switch
Dependency upgrade
Improvement
- [GROOVY-4694] - Move AstBuilderTransformation Global xForm to separate module
- [GROOVY-9174] - Change groovy-test-junit5 dependency on junit-platform-launcher to provided
- [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