Changelog for Groovy 2.4.0-beta-2

Bug

  • [GROOVY-3680] - Cannot use Groovy class with @Bindable or @Vetoable in Java code: cannot find symbol for addPropertyChangeListener
  • [GROOVY-4248] - CLONE -JavaStubGenerator doesn't generate annotations available in Groovy code - More Tests required
  • [GROOVY-5957] - groovydoc does not create links for non-fully qualified classes in same package
  • [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-6704] - Memory leak in ClassInfo when using MetaClasses
  • [GROOVY-6740] - Calling a static method of itself in an inner class causes ClassCastException
  • [GROOVY-6766] - collectEntries misleading error message
  • [GROOVY-6778] - groovy scripts file path name containing "e-n" raises "java.io.IOException: Invalid argument"
  • [GROOVY-6830] - Calling Closure from within inner static class fails in 2.1.7+
  • [GROOVY-6840] - inconsistency in JsonSlurper return type
  • [GROOVY-6852] - groovy.json.JsonOutput throws ArrayIndexOutOfBoundsException when serializing some Strings that contain a high percentage of non-ASCII characters.
  • [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-6874] - Inherit Constructors in Combination with Compile Static and Generic Parameters in the Parent Class Does not Work
  • [GROOVY-6887] - AutoClone issue with CompileStatic
  • [GROOVY-6901] - @Grab dependencies can't be fetched
  • [GROOVY-6903] - try catch cause a NullPointerException
  • [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-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-6933] - Add swap() to List and array
  • [GROOVY-6937] - JSon serialization with unicode characters fail
  • [GROOVY-6948] - NioGroovyMethods don't work under JDK6
  • [GROOVY-6964] - Build on Windows
  • [GROOVY-6969] - Set.flatten() should return Set
  • [GROOVY-6976] - after upgrading to 2.3.5 CliBuilder doesn't work.
  • [GROOVY-6980] - Normal Groovy jar shouldn't include openbeans

Improvement

  • [GROOVY-5783] - Inconsistency when generating sets
  • [GROOVY-6863] - Move methods from Collection to Iterable
  • [GROOVY-6875] - @Builder InitializerStrategy and DefaultStrategy should avoid marking created methods as synthetic to allow Java integration
  • [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-6920] - Add disjoint, minus and toSpreadMap to Iterable
  • [GROOVY-6945] - Some DGM Collection improvements
  • [GROOVY-6963] - groovydoc should honour the {@docRoot} javadoc tag
  • [GROOVY-6968] - Improve @ASTTest to support multiple phases

New Feature

  • [GROOVY-6294] - System.currentTimeSecond() method request

Task

  • [GROOVY-6868] - Upgrade SLF4J to 1.7.6 and Logback to 1.1.2