Okay, so I suppose this is a little off topic, but the only reason I am learning Groovy is for Jenkins . . . so . . .
test = new Test();
Test test = new Test();
I’ve seen examples in Groovy In Action that seem to imply this should work, but I get an exception at the class def:
java.lang.IllegalAccessError: tried to access class Test from class ConsoleScript38