Fix for GRAILS-10706: Grails reloading fails when changing abstract parent class