Fork me on GitHub

Changelog for Groovy 1.7.1

Bug

  • [GROOVY-1465] - Circular references with interfaces
  • [GROOVY-1864] - MockFor property support requires "demands" for all property access
  • [GROOVY-1871] - New MockFor support for properties means not possible to mock just methods
  • [GROOVY-2037] - Can't use Java 6 classpath wildcards
  • [GROOVY-3565] - package-info.java - groovydoc treats it wrong
  • [GROOVY-3673] - impossible in 1.7 to access java inner elements from groovy (was possible with 1.6)
  • [GROOVY-3681] - AntBuilder calls maybeConfigure() on Task too early
  • [GROOVY-3712] - @Delegate produces invalid class file
  • [GROOVY-3733] - splitEachLine
  • [GROOVY-3734] - Strange behaviour with Swingbuilder.list and listData casting to Vector
  • [GROOVY-3737] - groovydoc and other groovy bugs
  • [GROOVY-3738] - groovydoc doesn't handle @ directives in summary sentences.
  • [GROOVY-3739] - groovydoc doesn't handle {@link xxx} correctly.
  • [GROOVY-3740] - groovydoc doesn't handle # correctly
  • [GROOVY-3741] - There is no way to specify a style sheet (CSS file) to groovydoc.
  • [GROOVY-3745] - groovydoc doesn't handle @link's correctly in project-info.groovy
  • [GROOVY-3748] - Web site Groovy Doc has two flavors and problem with shown methods for GroovyShell
  • [GROOVY-3773] - GroovyDoc doesn't handle default parameters correctly.
  • [GROOVY-3785] - groovydoc doesn't handle enum comments correctly.
  • [GROOVY-3820] - DGM: missing eachLine(File, String, Closure) with charset
  • [GROOVY-3854] - "Groovy executing" dialog comes/stays forever although no script should be running
  • [GROOVY-3915] - Documentation: Invalid link, bad HTML in RootLoader doc
  • [GROOVY-3920] - GroovyConsole: Empty dialogbox remains after script is executed
  • [GROOVY-3933] - XmlTemplateEngine does not handle quotes in attribute values
  • [GROOVY-3934] - GroovyCodeSource(URL) is not setting scriptText
  • [GROOVY-3945] - Statically imported closure field is not resolved
  • [GROOVY-3947] - No stack trace printed in the Groovy console
  • [GROOVY-3954] - GroovyCodeSource:159 may hide exception
  • [GROOVY-3960] - DocGenerator not documented generified methods?
  • [GROOVY-3966] - GroovyConsole window loses focus when script is run
  • [GROOVY-3967] - Regression from 1.6.x
  • [GROOVY-3975] - No generic type information for closure parameters in generated closure class
  • [GROOVY-3977] - Auto-conversion inconsistency in BigDecimal treatment in method calls - Double vs Float
  • [GROOVY-3979] - Enum inside a class
  • [GROOVY-3980] - GroovyScriptingEngine doesn't recognize changes in the source of checked class only when dependencies got changed
  • [GROOVY-3985] - error in instance initializer for Enum element, without special method
  • [GROOVY-3987] - Cannot copy the text selected in output pane of GroovyConsole
  • [GROOVY-3989] - Groovy compiler allows overriding final methods but class loading fails with java.lang.VerifyError
  • [GROOVY-3993] - NPE when trying to access member of a static array from an inner static enum
  • [GROOVY-3994] - ClassCastException when trying to instantiat an EnumSet from an inner enum
  • [GROOVY-3996] - Enum static field initialization inconsistency
  • [GROOVY-4004] - stub generator creates wrong code for inner and nested classes
  • [GROOVY-4005] - Stub generator creates invalid Java code for anonymous inner classes
  • [GROOVY-4009] - Avoiding repeated resolve() calls in case of failure to resolve the type.
  • [GROOVY-4010] - XmlParser wraps nested elements in extra ArrayList
  • [GROOVY-4012] - java.lang.ArrayStoreException thrown on trying to execute a list
  • [GROOVY-4013] - GroovyScriptEngine.loadScriptByName returns anonymous inner classes on second invocation/reload
  • [GROOVY-4015] - GStrings are not coerced to Strings in super constructor call
  • [GROOVY-4028] - Inner classes - Constructor calls with named arguments don't get implicit this reference passed as 1st argument
  • [GROOVY-4029] - putAt and put behave different on Maps
  • [GROOVY-4035] - Super method calls from anonymous classes sometimes fail
  • [GROOVY-4037] - GroovyClassLoader leaves file handles open
  • [GROOVY-4040] - DGM#flatten(Collection, Closure) isn't using closure properly
  • [GROOVY-4043] - Error in resolving inner class
  • [GROOVY-4046] - 1 == new Object() throws ClassCastException
  • [GROOVY-4048] - waitForProcessOutput should also waitFor internally
  • [GROOVY-4049] - 1.7.x's faster DGM loading system causes issues on Google App Engine
  • [GROOVY-4051] - Power assert doesn't pretty-print groovy.lang.Reference content inside a closure inside an anonymous class
  • [GROOVY-4061] - Error trying to configure GroovyServlet to point to single groovy file for all URLs

Improvement

  • [GROOVY-1823] - Add ability to mock/stub constructors
  • [GROOVY-2945] - Binary counterpart to setText(File, String)
  • [GROOVY-3697] - Enhance consistency of regex/pattern DGM methods
  • [GROOVY-3710] - Documentation of closure params in GDK
  • [GROOVY-3910] - Run a JUnit TestSuite directly from the command line
  • [GROOVY-3919] - sum() should be available on Object[] and primitive arrays for consistency with min/max etc.
  • [GROOVY-3946] - Allow overriding the default Groovy class loader
  • [GROOVY-3958] - Documentation for Collection Jdk Methods
  • [GROOVY-3959] - TestNG script runner masks root cause of exception
  • [GROOVY-3961] - Prepend '.groovy' in the filename of the save dialog & filter *.groovy
  • [GROOVY-3972] - Groovy supports eachFile, eachFileRecurse and eachFileMatch operations for FilesAndDirectories and DirectoriesOnly but not FilesOnly
  • [GROOVY-3997] - TemplateServlet works directly with System.getProperty instead of init parameters
  • [GROOVY-3999] - StackOverflowError not recognizable as such in GroovyConsole
  • [GROOVY-4006] - Implicit this reference for inner classes should be handled automatically
  • [GROOVY-4026] - MockFor and StubFor improvements
  • [GROOVY-4041] - TRIVIAL doco issues for classes URL and File
  • [GROOVY-4045] - Comment the nature of the documentation for http://groovy.codehaus.org/(g)api/
  • [GROOVY-4047] - Cyclic inheritence check - scattered across multiple compilation phases
  • [GROOVY-4054] - Methods generated for enum classes not synthetic

New Feature

  • [GROOVY-1165] - auto-vivicate a Map to provide a closure to create new values.
  • [GROOVY-1746] - Add default to Map
  • [GROOVY-2630] - Support Half-Mocks
  • [GROOVY-3692] - specify encoding for File's combinient methods (eachLine,..)
  • [GROOVY-3938] - Stamp groovy classes with the version of groovy used to generate them.
  • [GROOVY-4062] - Add getBytes to InputStream, URL and File

Sub-task

Task

Wish

  • [GROOVY-3374] - Add clearTime() to java.util.Date and/or java.util.Calendar
  • [GROOVY-3973] - GroovyClassLoader incompatible with older version(s)