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

(ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException

XMLWordPrintable

    • b07
    • generic
    • generic

      The java.nio.channels.FileChannel methods tryLock() and write() are missing throws clauses for NonWritableChannelException although these methods throw such an exception when the channel is read-only.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: