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

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

XMLWordPrintable

    • b136
    • generic
    • generic
    • Not verified

      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."

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: