Fork me on GitHub

Changelog for Groovy 1.6.0-rc-2

Bug

  • [GROOVY-569] - java.lang.ClassFormatError running groovy script from shell (bash)
  • [GROOVY-873] - break/continue with label ignores the label
  • [GROOVY-1563] - Confusing error message when using : instead of "extends"
  • [GROOVY-1767] - Windows start scripts have problems with -Dfoo=bar parameters
  • [GROOVY-2035] - ReflectionMetaMethod has poor error messages for IllegalArgumentExceptoin etc.
  • [GROOVY-2081] - Script executes correctly when called with absolute path, but fails when called with relative path
  • [GROOVY-2235] - Regression since 1.0 in Mock support
  • [GROOVY-2244] - Write-only JavaBeans properties cannot be set via the '=' operator
  • [GROOVY-2331] - Println behavior for collections, strings and gstrings [minor breaking change]
  • [GROOVY-2361] - Property not stored via EMC
  • [GROOVY-2366] - A integer precision error (2147483647 + 2 == -2147483647 is true?)
  • [GROOVY-2387] - spread-dot operator problem in 1.5
  • [GROOVY-2397] - grovy 1.5 startup bug under cygwin - breaks up arguments with spaces
  • [GROOVY-2403] - Closure parameter list typing inconsistent with function and method parameter list typing
  • [GROOVY-2425] - Cannot resolve which method to invoke with extended interfaces
  • [GROOVY-2453] - The Map plus() method creates new TreeMap but javadoc says HashMap
  • [GROOVY-2460] - VerifyError instead of compilation error
  • [GROOVY-2482] - More problems with covariant return types
  • [GROOVY-2484] - performance issue with collections operations when numbers are elements of the collections
  • [GROOVY-2485] - A labelled continue statement does not appear to correctly imitate its Java counterpart.
  • [GROOVY-2486] - getAt calls not selecting right implementation
  • [GROOVY-2498] - Swingbuilder table content gets mixed up when columns are re-ordered by dragging.
  • [GROOVY-2501] - Java.lang.VerifyError... signature: (Ljavax/swing/JTable;Ljava/lang/Object;Lboolean;Lboolean;Lint;Lint;)Ljava/awt/Component;)
  • [GROOVY-2513] - Problems with commandline arguments in groovy under cygwin
  • [GROOVY-2515] - Command line option -D does not work in Windows XP but does in MacOSX
  • [GROOVY-2527] - Unexpected Array conversion on variable assignement
  • [GROOVY-2698] - Method dispatch with overloaded methods for Java types doesn't choose the most specific method
  • [GROOVY-2705] - ProxyGenerator.instantiateDelegate fails when there are overridden protected methods
  • [GROOVY-2818] - Either support true stateful mixins or remove the current experimental implementation all together
  • [GROOVY-2918] - problem with default namespace in StreamingSAXBuilder
  • [GROOVY-3057] - SimpleTemplateEngine / TemplateEngine does not close Readers
  • [GROOVY-3090] - ObjectGraphBuilder does not set itself as delegate on closure strategies
  • [GROOVY-3139] - StubFor: No more calls to 'openConnection' expected at this point. End of demands
  • [GROOVY-3143] - GroovyDoc: WindowTitle is ingnored
  • [GROOVY-3175] - Some generated fields not marked as synthetic
  • [GROOVY-3208] - Static properties of Groovy classes not seen by subclasses
  • [GROOVY-3211] - Groovy doesn't follow JavaBeans Specification on method name to property name decapitialization
  • [GROOVY-3219] - NamespaceBuilder does not create child nodes
  • [GROOVY-3235] - DGM.println(Object) and friends do a Writer.close() if the object is a writer. Should be flush() instead.
  • [GROOVY-3237] - println is inconsistent
  • [GROOVY-3238] - String.valueOf(BigInteger) doesn't call String.valueOf(Object)
  • [GROOVY-3242] - metaclass and curry() gives MissingMethodException
  • [GROOVY-3243] - MenuItem doesn't accept GStrings as values
  • [GROOVY-3245] - DGM.readLines(String) incorrectly loses empty lines.
  • [GROOVY-3248] - String.replaceAll(String, Closure) should quote the replacement string
  • [GROOVY-3257] - XmlNodePrinter has protected methods that cannot be overriden
  • [GROOVY-3259] - Fix use of deprecated API in Apache Ant
  • [GROOVY-3260] - groovysh is initializing AWT
  • [GROOVY-3264] - DGM#denormalize - Mac style line breaks and empty string
  • [GROOVY-3266] - Mixins ignore private methods from superclasses
  • [GROOVY-3271] - Update antlib.xml and add to Groovy JAR
  • [GROOVY-3276] - Enums in 1.6-RC-1 no longer work with constructors with multiple parameters
  • [GROOVY-3277] - StackOverflowError with mixins
  • [GROOVY-3281] - GroovyScriptEngine doesn't inherit CompilerConfiguration from parent classloader
  • [GROOVY-3283] - Can't "import static" more than one enum
  • [GROOVY-3288] - SwingBuilder.tabbedPane imposes strict restrictions on its children
  • [GROOVY-3293] - Return statements of the form "return;" have wrong source position
  • [GROOVY-3301] - Groovy annotations not working with Hibernate
  • [GROOVY-3303] - DGM File.append( byte[] ) overwrites existing file
  • [GROOVY-3304] - NullPointerException in LabelVerifier

Improvement

  • [GROOVY-250] - CST nodes created synthetically should always include some line number info
  • [GROOVY-1594] - Bundle JSR 223 Support in Groovy
  • [GROOVY-2066] - Groovyc Ant task support fork and max memory
  • [GROOVY-2254] - Expose GSE on GroovyServlet to subclasses so they may add extra configuration
  • [GROOVY-2261] - add auto indent for GroovyConsole
  • [GROOVY-2264] - support overloading with keyword 'as'
  • [GROOVY-2265] - Smart edit function for Groovy Console
  • [GROOVY-2502] - Add OSGi headers to manifest
  • [GROOVY-2506] - Document Groovy-JDK methods Collection.transpose() and Collection.combinations()
  • [GROOVY-2510] - GroovyDoc support of @see tag
  • [GROOVY-2517] - Allow "as Set" to work with arrays
  • [GROOVY-2524] - Javadoc typos for DefaultGroovyMethods
  • [GROOVY-2613] - add 'transform to platform newline' function to the GDK String API
  • [GROOVY-2904] - [ [a:1, b:2, c:3] ].flatten() -> [ 1, 2, 3 ], but should be [ [a:1, b:2, c:3] ]
  • [GROOVY-2943] - Collection methods like reject, collect don't appear in Collections documentation (they are in the Quickk start?)
  • [GROOVY-3091] - Allow setting String based strategies on ObjectGraphBuilder[IdentityResolver|ReferenceResolver]
  • [GROOVY-3094] - ObjectGraphBuilder: allow references to be resolved lazily
  • [GROOVY-3162] - DGM.minus(Date, Date) is conspicuously missing
  • [GROOVY-3171] - Handle floating conversion to BigDecimal and Double using 'as' gracefully.
  • [GROOVY-3241] - Ivy should be declarer as optionnal dependency in groovy-all
  • [GROOVY-3251] - Make Groovy-JDKs HTML 4.01 valid
  • [GROOVY-3252] - Fix DGM toString for Map and Collection
  • [GROOVY-3253] - Change array formatting to be uniform
  • [GROOVY-3265] - XmlNodePrinter outputs too much whitespace
  • [GROOVY-3279] - Remove ANT dependency on GroovyDocTool
  • [GROOVY-3285] - Implement String.replace(CharSequence, CharSequence), a JDK 1.5 method, for backwards compatibility
  • [GROOVY-3287] - Implement workaround for JDK 1.4 String.replaceAll bug.
  • [GROOVY-3290] - ProxyMetaClass.use method should return the result of the closure call
  • [GROOVY-3291] - Allow File.append and File.leftShift to handle binary data.
  • [GROOVY-3300] - Disallow try statements without catch or finally block
  • [GROOVY-3338] - ConfigSlurper to support node key with hyphen

New Feature

  • [GROOVY-158] - Multiple assignment
  • [GROOVY-1773] - Add varient return type warning to GroovyC
  • [GROOVY-3246] - There should be a DGM.normalize(String) method which acts like readLines().join('\n')

Sub-task

  • [GROOVY-1716] - Annotation definition
  • [GROOVY-2511] - DGM#minus(String, Object) behavior for 1.6
  • [GROOVY-2512] - Stackoverflow with groovy & ant on HEAD
  • [GROOVY-2762] - Groovydoc support for fields and properties
  • [GROOVY-2909] - Groovydoc does not take inheritance into consideration.
  • [GROOVY-2978] - GroovyDoc misses some comments on classes and methods
  • [GROOVY-3261] - Class comments in package summary

Task

  • [GROOVY-2112] - Release preparation: execute all examples, esp. for UI