Changes related to this were included the PR for #10238. See https://github.com/grails/grails-core/pull/10269.