fix broken subarray method
Merge branch '2.3.x' of github.com:grails/grails-core into 2.3.x