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

javac should not warn about InterruptedException on the declaration of AutoCloseable itself

XMLWordPrintable

    • b29
    • generic
    • generic
    • Not verified

      As part of warnings cleanup day, it was noted that javac -Xlint:all will warn about the declaration of java.lang.AutoCloseable.close being about to throw InterruptedException.

      Since this is a required part of the platform, it is neither helpful not necessary for javac to warn about this particular close method.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: