Changelog for Groovy 2.0.7
Bug
- [GROOVY-3419] - Groovy fails to launch scripts from Cygwin
- [GROOVY-4458] - NPE in org.codehaus.groovy.runtime.dgmimpl.NumberNumberPlus$DoubleInteger
- [GROOVY-4558] - PowerAssert throwing NPE
- [GROOVY-5009] - Problem dispatching array as argument to a closure
- [GROOVY-5366] - unable to add assertions via compile time transform
- [GROOVY-5425] - ObjectRange doesn't have BigInteger optimisation for size()
- [GROOVY-5473] - groovysh 2.0.0-beta-3 ERROR java.lang.ClassCastException: required class java.lang.Class but encountered class org.fusesource.jansi.AnsiRenderer
- [GROOVY-5632] - Closure default params can cause BUG! exception in phase 'class generation'
- [GROOVY-5733] - JsonBuilder toPrettyString gen "\"\"" for emtyString it should be ""
- [GROOVY-5812] - Java code behaves wrong on 2.0.5 but not on 1.8.8
- [GROOVY-5858] - "string".count('') fails
- [GROOVY-5867] - xml:lang attribute appears to break StreamingMarkupBuilder >= 2.0.6
- [GROOVY-5868] - ConfigObject is unexpectedly no longer Cloneable
- [GROOVY-5870] - Groovy:[Static type checking] - Inconvertible types: cannot cast javax.script.ScriptEngine to javax.script.Invocable
- [GROOVY-5872] - null initial value can't be inferred with generic field of a class
- [GROOVY-5874] - Groovyc: BUG! exception in phase 'class generation' in source unit
- [GROOVY-5878] - startGroovy breaks one-liners containing double quotes
- [GROOVY-5879] - combining the default namespace and normal namespaces with StreamingMarkupBuilder causes issues
- [GROOVY-5884] - @CompileStatic(SKIP) does not work for constructors
- [GROOVY-5887] - The spread-call syntax is statically compiled for collections, but not for arrays
- [GROOVY-5888] - Compiler wrongly tries only static resolution when calling spread operator on a collection of strings
- [GROOVY-5889] - Compiler hangs on this code
- [GROOVY-5890] - @CompileStatic resolves the 'in' operator wrongly
- [GROOVY-5892] - @CompileStatic VerifyError
- [GROOVY-5901] - @AutoClone excludes param works correctly only for COPY_CONSTRUCTOR AutoCloneStyle
- [GROOVY-5906] - StackOverflow with CompileStatic
- [GROOVY-5907] - Object.with seems to lose typing when generics are used
- [GROOVY-5915] - TokenException returns wrong endColumn value
- [GROOVY-5918] - JsonBuilder.toString() fails with StackOverflowError when using Expando
- [GROOVY-5919] - Multiple problems with @CompileStatic and abstract inheritance
- [GROOVY-5922] - CompileStatic: long loses type when bitwise OR applied to it
- [GROOVY-5925] - Casting map as Random results in java.lang.VerifyError
- [GROOVY-5926] - ArrayIndexOutOfBounds when calling super method in SKIP @CompileStatic section
- [GROOVY-5927] - JsonBuilder.toPrettyString() incorrect for zero-length String
- [GROOVY-5932] - covariant method addition causing call to abstract method
- [GROOVY-5933] - @TypeChecked$TypeCheckingInfo is added to constructors
- [GROOVY-5937] - groovydoc does not document type alias for property correctly
- [GROOVY-5938] - groovydoc does not document array property correctly
- [GROOVY-5939] - groovydoc does not show link for property type
- [GROOVY-5940] - groovydoc does not show class hierarchy correctly
- [GROOVY-5958] - 'Allowed Interruption' menu item is missing at GroovyConsole on MacOSX
- [GROOVY-5959] - switch case misbehave with @Typechecked
- [GROOVY-5963] - Exception in phase 'class generation'
- [GROOVY-5980] - Finally executes twice on NPE while casting method result
- [GROOVY-5988] - Map subscript operator not working with CompileStatic
- [GROOVY-6006] - CLONE - ConfigObject is unexpectedly no longer Cloneable
Improvement
New Feature
- [GROOVY-5877] - Provide a flag for the groovyc ant task to control whether it searches the classpath for source files
- [GROOVY-5886] - Support an Observable version of Set
Sub-task
- [GROOVY-3105] - API documentation for ConfigSlurper
- [GROOVY-3394] - public api documentation for entire groovy.util.slurpersupport package - especially GPathResult
- [GROOVY-5968] - Show only parts of bytecode
- [GROOVY-5970] - Non-blocking bytecode view
- [GROOVY-5977] - "please select a class node" message in AST view
Task