Re: RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

2021-05-28 Thread Vyom Tewari
On Fri, 28 May 2021 13:11:43 GMT, Chris Hegarty wrote: > The SCTP channel factory methods, namely SctpChannel::open, > SctpServerChannel::open, and SctpMultiChannel::open, are specified to throw > UnsupportedOperationException, if the SCTP protocol is not supported. > Currently, underlying pla

Re: RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

2021-05-28 Thread Chris Hegarty
On Fri, 28 May 2021 14:31:56 GMT, Alan Bateman wrote: > EPROTONOSUPPORT and ESOCKTNOSUPPORT are subtly different and I don't know if > ESOCKTNOSUPPORT is possible. Checking both errors is okay/harmless so I think > this change is okay. ESOCKTNOSUPPORT is the reported error for SOCK_SEQPACKET (

Re: RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

2021-05-28 Thread Alan Bateman
On Fri, 28 May 2021 13:11:43 GMT, Chris Hegarty wrote: > The SCTP channel factory methods, namely SctpChannel::open, > SctpServerChannel::open, and SctpMultiChannel::open, are specified to throw > UnsupportedOperationException, if the SCTP protocol is not supported. > Currently, underlying pla

Re: RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

2021-05-28 Thread Jie Fu
On Fri, 28 May 2021 13:11:43 GMT, Chris Hegarty wrote: > The SCTP channel factory methods, namely SctpChannel::open, > SctpServerChannel::open, and SctpMultiChannel::open, are specified to throw > UnsupportedOperationException, if the SCTP protocol is not supported. > Currently, underlying pla

Re: RFR: 8267938: (sctp) SCTP channel factory methods should check platform support

2021-05-28 Thread Daniel Fuchs
On Fri, 28 May 2021 13:11:43 GMT, Chris Hegarty wrote: > The SCTP channel factory methods, namely SctpChannel::open, > SctpServerChannel::open, and SctpMultiChannel::open, are specified to throw > UnsupportedOperationException, if the SCTP protocol is not supported. > Currently, underlying pla