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

flow block inside methods causes verification errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • 1.0-beta-6
    • None
    • None
    • Sun JDK 1.4.1_2 XP

    Description

      Following code:
      class Test {
      void aMethod() {
      i=0;
      while(i < 6)

      { i++; }

      }
      static void main(args) {
      }
      }

      causes following error:
      java.lang.VerifyError: (class: Test, method: aMethod signature: (Ljava/lang/Object;)V) Inconsistent stack height 1 != 0

      Attachments

        Activity

          People

            Unassigned Unassigned
            supertbone Philip
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: