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

finally block is not executed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.7.0
    • 1.7.2
    • None
    • None

    Description

      Following test fails on 1.7.0 and passes on 1.6.4

      passed = false
      try {
          obj = 1
          try {
              obj.e
          } catch (e) {
              obj.e
          } finally {
              passed = true
          }
      } catch (e) {}
      println passed ? "PASSED" : "FAILED"
      

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            san Alexander Kleymenov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: