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

Project Coin: warn of throwing InterruptedException in AutoCloseable.close javadoc

    Details

    • Subcomponent:
    • Resolved In Build:
      b136
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      From http://mail.openjdk.java.net/pipermail/coin-dev/2011-March/003161.html

      "After due consideration and after consulting with the concurrency mavens
      on the JSR 166 expert group, the JSR 334 expert group has decided it is
      sufficient for the specification of the AutoCloseable type to strongly
      warn against having AutoCloseable.close throw InterruptedException at
      runtime. Additionally, javac and other compilers may warn against
      declaring an AutoCloseable.close method which throws InterruptedException."

        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: