I have a groovy superclass that looks like:
class AGroovyClass { private String str = \"hello\" void printString(int nTimes) { nTimes.times { prin
It is an old bug with private access modifier. It works if you define str protected. https://issues.apache.org/jira/browse/GROOVY-2433
edit: Can you avoid closure, use a for loop instead? Not so cool, but works :)