RFR: 8238274: (sctp) JDK-7118373 is not fixed for SctpChannel

Alan Bateman alanb at openjdk.java.net
Sat Aug 28 07:21:24 UTC 2021


On Fri, 27 Aug 2021 08:37:46 GMT, Masanori Yano <myano at openjdk.org> wrote:

> Please review this change to the Unix implementations of sun.nio.ch.sctp.Sctp*ChannelImpl#implCloseSelectableChannel() 
> to be same as SocketChannelImpl at JDK-7118373. (The preClose is missing a check for the ST_KILLED state.)

As the equivalent of JDK-7118373 in JDK 8 then the proposed change looks okay.

At some point we may have to look at aligning the SCTP channel implementations where close has been significantly re-implemented.

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

PR: https://git.openjdk.java.net/jdk/pull/5274


More information about the nio-dev mailing list