Re: 8241952: (fs) FileChannel.write(ByteBuffer src, long position) does not check for the FileChannel being closed first
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Apr 8 21:20:05 UTC 2020
Hi Lance,
If we indeed change the location of the ensureOpen() calls in the methods in question then this might be a good idea.
Thanks,
Brian
> On Apr 8, 2020, at 2:02 PM, Lance Andersen <lance.andersen at oracle.com> wrote:
>
> I am wondering if the main javadoc for FileChannel should indicate that a check to see that the channel is open is the first thing done.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200408/9ba94d2c/attachment.htm>
More information about the nio-dev
mailing list