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

Finally executes twice on NPE while casting method result

    XMLWordPrintableJSON

Details

    Description

      Follwing scriplet prints 'in finally' twice:

      f();

      int f() {

      try

      { return null }

      finally

      { println 'in finally' }

      }

      Attachments

        Activity

          People

            asteingress Andre Steingress
            salaev Sergey Alaev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: