RFR: 8304833: (fc) Remove dead code in sun.nio.ch.FileChannelImpl::implCloseChannel [v2]

Alan Bateman alanb at openjdk.org
Thu Mar 23 20:35:24 UTC 2023


On Thu, 23 Mar 2023 20:31:08 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Remove `fdAccess.close(fd)` branch in `implCloseChannel` as it is unreachable because exactly one of `parent` and `closer` can be non-`null`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8304833: Change type of parent to Closeable

Marked as reviewed by alanb (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/13168#pullrequestreview-1355532422


More information about the nio-dev mailing list