Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-153

Statically typed static fields generates a bad class file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-4
    • 1.0-beta-4
    • parser
    • None

    Description

      public class Test

      { static int x }

      Throws Exception in thread "main" java.lang.VerifyError: (class: Test, method: getX signature: ()I) Expecting to find object/array on stack

      when the class is loaded

      Attachments

        Activity

          People

            bob Bob Paulin
            tug John Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: