GROOVY-7063: IllegalAccessError when calling a protected method from a closure in a sub-class