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

A labelled continue statement does not appear to correctly imitate its Java counterpart.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.5.2, 1.6-rc-2
    • None
    • None
    • Win XP, jdk1.6.0_03, Groovy v1.5.0

    Description

      The labelled continue statement in the acoompanying Groovy code cycles indefinitely, seemingly without the control variable ever changing from zero. The Java implementation appears to work as expected.

      Attachments

        1. Example21.groovy
          0.6 kB
          Kenneth Bell
        2. Ex21.java
          0.8 kB
          Kenneth Bell

        Activity

          People

            blackdrag Jochen Theodorou
            kenb Kenneth Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: