title: Groovy java.lang.VerifyError - Expecting to find integer on stack
body: <p>I resolved this myself, but the compilation error provided no feedback so I'm dropping the fix here.</p>
  
  <p>The code was something like</p>
  
  <pre><code>def aMethod(String param1, String param2)
  {
    Sql gsql = Sql.newInstance(&lt;init code&gt;)
    int hashCode = null
  
    ... more code
  }
  </code></pre>
  
  <p>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. </p>
  
  <p>May be related to some of the static compilation/optimization stuff that is going into Groovy these days</p>