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.
- csr for
-
JDK-8279984 (ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException
- Closed
- duplicates
-
JDK-4510562 (fs spec) FileChannel.lock/tryLock spec should describe channel preconditions
- Closed
- relates to
-
JDK-4780504 (fs) Forcing a read-only file channel should throw more specific exception
- Closed