Changelog for Groovy 1.0.0-JSR-5
Bug
- [GROOVY-282] - isCase() - static method invocation by way of InvokeHelper should be polymorphic
- [GROOVY-335] - Nested closures : variable assignment ignored
- [GROOVY-350] - test multidimension arrays work properly
- [GROOVY-379] - incorrect inner classes naming
- [GROOVY-401] - Errors in classes are sometimes hidden
- [GROOVY-406] - Autoboxing not working for method parameter
- [GROOVY-472] - interactive shell can't handle strings which span multiple lines
- [GROOVY-484] - parser error with static initializer
- [GROOVY-487] - "in" property of AntBuilder causes error
- [GROOVY-488] - this[offset] is not considered modifiable
- [GROOVY-534] - Nested closures - variable scope problem
- [GROOVY-613] - global properties referenced from closure that are declared later cause early NullPointer
- [GROOVY-634] - variable assignment within nested closures doesn't work
- [GROOVY-772] - implicit 'it' parameter created wrongly
- [GROOVY-821] - Groovy fails to set field without qualifying with "this"
- [GROOVY-830] - Scope bug in using the use directive
- [GROOVY-833] - Groovy-core compile errors in eclipse with 5.0 compiler enabled
- [GROOVY-844] - "throws" found when expecting type: SLIST at line ...
- [GROOVY-871] - allow line ends after label declaration
- [GROOVY-896] - Problem when accessing arrays of arrays from groovy
- [GROOVY-918] - Cannot set outside variables from within nested closures
- [GROOVY-949] - Cannot access private instance variable from static context
- [GROOVY-966] - StringBuffer getAt throws RuntimeError: Ambigous Method overloading
- [GROOVY-990] - Closure access to outer block variables - inconsistant behavior
- [GROOVY-992] - Can not set property from sub class
- [GROOVY-1021] - Can't do multi-line input with groovysh since JSR-02
- [GROOVY-1024] - Static Member Access Error by ClassName
- [GROOVY-1036] - Expando's class attribute should be overwritable
- [GROOVY-1039] - VerifyError: returning local variable outside of scope
- [GROOVY-1046] - Scoping bug results in a null pointer exception
- [GROOVY-1117] - constants in interfaces
- [GROOVY-1118] - NPE when accessing a reference that was set inside a Builder
- [GROOVY-1142] - Number comparison inconsistent
- [GROOVY-1149] - GroovyResourceLoader not used when loading Groovy class from .groovy source
- [GROOVY-1169] - Constants defined in interface not visible to subclasses
- [GROOVY-1170] - for loop scope is bogus
- [GROOVY-1171] - NullPointerException caused by interaction of for loop scope and SwingBuilder
- [GROOVY-1175] - Ability to create empty multi-D arrays
- [GROOVY-1179] - GroovyScriptEngine does not let you specify parent ClassLoader for GroovyClassLoader
- [GROOVY-1180] - GroovyScriptEngine fails to load scripts that exist on file:// roots if they only exist on a root that is not the last root
- [GROOVY-1184] - final @Property x generates a setX method
- [GROOVY-1197] - Multi-D arrays don't work with custom classes as base element
- [GROOVY-1198] - Internal NPE when reusing variable name in different scopes
- [GROOVY-1209] - Accented Latin characteres are not allowed in Groovy identifires
- [GROOVY-1211] - String containing an integer is considered a character for ranges
- [GROOVY-1212] - Bad implementation of MultipleCompilationErrorsException
- [GROOVY-1217] - invalid class file generated when property and field name overlap
- [GROOVY-1220] - groovyConsole broken after new Scoping
- [GROOVY-1228] - Scoping/variable resolving problem when static final field with same name declared in class
- [GROOVY-1230] - ClassFormatError when defining two identical methods in the same class
- [GROOVY-1231] - Make GroovyShell take care of CompilerConfiguration's source encoding
- [GROOVY-1237] - Concurrency problem when compiling scripts
- [GROOVY-1238] - NullPointerException oddity related to variable scope
- [GROOVY-1239] - Builders: calls to owner methods from within nested closures lead to markup instead of method calling
- [GROOVY-1413] - public static variables not modifiable by top-level inner classes
Improvement
- [GROOVY-338] - Error message for out of scope variables
- [GROOVY-633] - Initialize "primitive" type to default values
- [GROOVY-790] - List operations minus and plus not symmetrical
- [GROOVY-862] - Declared variables in scripts shouldn't be added to the binding
- [GROOVY-884] - Improve Error Message when using the unsupported Multi-Dim Arrays
- [GROOVY-1060] - Exception "The variable name 'i' conflicts with the class name 'i'" even if no class "i" exists
- [GROOVY-1187] - Allow loading of groovy classes from GroovyScriptEngine, leveraging the reloading and caching support.
- [GROOVY-1196] - provide an AllTestSuite.java that collects Groovy tests and make them available as a test suite for easy running in the IDE
- [GROOVY-1202] - provide a feature to declare TestCases as 'notYetImplemented' and thus expected to fail
- [GROOVY-1223] - provide simplified support for using commons-cli in Groovy command-line scripts
- [GROOVY-1372] - Add ability to specify parent class loader for Groovy Console
New Feature
- [GROOVY-1204] - Procide a way of acessing all the attributes of a node in a GPath expression
- [GROOVY-1214] - Support reloading of classes through GCL