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

Switch is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0-JSR-6
    • bytecode
    • None
    • Windows XP/SP2 + jdk1.5.0_06

    Description

      The following script never ends

      def a = true
      while(a) {
      while(false) {} //1
      a = false
      break //2
      }

      remove either 1 or 2 and it runs %-)

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            galleon Ryan Harris
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: