Changelog for Groovy 2.3.4
Bug
- [GROOVY-4248] - CLONE -JavaStubGenerator doesn't generate annotations available in Groovy code - More Tests required
- [GROOVY-4896] - Anonymous inner class failure
- [GROOVY-5582] - An AIC cannot extend a non static inner class
- [GROOVY-5957] - groovydoc does not create links for non-fully qualified classes in same package
- [GROOVY-6141] - Inner class of inner class cannot reference outer class members
- [GROOVY-6302] - Stub generator chokes on multi-dimensional arrays
- [GROOVY-6404] - Incorrect stubs for enums without constants
- [GROOVY-6614] - Groovy compiler throws internal error with @CompileStatic and getPropertyChangeListeners()
- [GROOVY-6740] - Calling a static method of itself in an inner class causes ClassCastException
- [GROOVY-6830] - Calling Closure from within inner static class fails in 2.1.7+
- [GROOVY-6840] - inconsistency in JsonSlurper return type
- [GROOVY-6855] - Groovy annotations that support closures don't get stubs generated correctly
- [GROOVY-6866] - Cannot use @CompileStatic and @Sortable together
- [GROOVY-6870] - Sortable should honor typical Java generics usage
- [GROOVY-6873] - Invalid compiler error: "The current scope already contains a variable of the name xxx"
- [GROOVY-6874] - Inherit Constructors in Combination with Compile Static and Generic Parameters in the Parent Class Does not Work
- [GROOVY-6876] - Setters are not properly generated for primitive variables with multiple capital letters in the name
- [GROOVY-6883] - Closure in child class cannot access static method in parent class
- [GROOVY-6885] - .NoSuchFieldError: this$0 for member variable with Anonymous Class within Closure
- [GROOVY-6887] - AutoClone issue with CompileStatic
- [GROOVY-6895] - MarkupTemplateEngine may silently swallow errors
- [GROOVY-6897] - java.lang.NoSuchMethodError: groovy.xml.StreamingMarkupBuilder.bind(Ljava/lang/Object;)Ljava/lang/Object;
- [GROOVY-6904] - AIC in Closure is checked for wrong constructor
- [GROOVY-6909] - @CompileStatic in combo @WithXXXLock transform is broken
- [GROOVY-6910] - @CompileStatic in combo with @IndexProperty transform is broken
- [GROOVY-6913] - additional cleanup for @Immutable combined with @CompileStatic
- [GROOVY-6914] - Performance issue with resource resolution in TemplateResolver
- [GROOVY-6916] - Using markup in a GString causes a stack overflow
- [GROOVY-6917] - additional cleanup for @Category combined with @CompileStatic
- [GROOVY-6918] - GroovyDoc index-all page seems to list methods from private classes which are broken links
- [GROOVY-6921] - STC: problem with a getAt call in double nested collect call
- [GROOVY-6924] - Runtime IncompatibleClassChangeError using with() on a JavaBean if @CompileStatic is used
Improvement
- [GROOVY-5783] - Inconsistency when generating sets
- [GROOVY-6889] - clean up generated code when using @AutoExternalize with @CompileStatic
- [GROOVY-6893] - clean up generated code when using @EqualsAndHashCode with @CompileStatic
- [GROOVY-6894] - clean up generated code when using @TupleConstructor with @CompileStatic
- [GROOVY-6915] - Add ability for layouts to inherit the model
- [GROOVY-6926] - DGM#with should use @DelegatesTo and @ClosureParams