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

Finally executes twice on NPE while casting method result

    Details

      Description

      Follwing scriplet prints 'in finally' twice:

      f();

      int f() {

      try

      { return null }

      finally

      { println 'in finally' }

      }

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: