Instance initialization blocks within a GroovyTestCase are not being compiled when the test case is part of the groovy build. This happens from Ant but not from the IDE or outside the groovy Ant Build.
The attached test case (in patch) will execute and pass in the IDE but fails as part of the ant build. To invoke it do:
ant test -DtestCase=groovy.InitailizationBlockTest
Looking at the javap output for the compiled class, the instance initialization block seems to be totally missing.
I have no idea where to starting looking into this. Sorry.