See http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10242&version=20402 and especially https://jira.codehaus.org/browse/GROOVY-6808.