I resolved this myself, but the compilation error provided no feedback so I'm dropping the fix here.
The code was something like
def aMethod(String param1, String param2)
{
Sql gsql = Sql.newInstance(<init code>)
int hashCode = null
... more code
}
I assumed that Groovy was wrapping the int variable in an object, but apparently not fully. When I removed the int hashcode = null, everything ran fine.
May be related to some of the static compilation/optimization stuff that is going into Groovy these days
VerifyError, it's time to file a bug report in the Groovy issue tracker.