GROOVY-6830: Calling Closure from within inner static class fails in 2.1.7+