Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6971877

Project Coin: improve semantics of suppressed exceptions in try-with-resources

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b105
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      After additional analysis, the initialy proposed translation semantics for try-with-resources into other statements is suboptimal: rather than only supressing a java.langException (or subclass) any Throwable should be suppressed. See option 1 discussed in
      http://blogs.sun.com/darcy/entry/project_coin_updated_arm_spec

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                darcy Joe Darcy
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: