http://jira.grails.org/browse/GRAILS-10997