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

Integrated: 8265367: [macos-aarch64] 3 java/net/httpclient/websocket tests fail with "IOException: No buffer space available"

2021-05-28 Thread Daniel Fuchs
On Thu, 27 May 2021 09:32:06 GMT, Daniel Fuchs wrote: > Hi, > > Please find below a fix for: > 8265367: [macos-aarch64] 3 java/net/httpclient/websocket tests fail with > "IOException: No buffer space available" > > The Pending* websocket tests create a server that accepts sockets to create a

Re: RFR: 8265367: [macos-aarch64] 3 java/net/httpclient/websocket tests fail with "IOException: No buffer space available" [v2]

2021-05-28 Thread Chris Hegarty
On Thu, 27 May 2021 13:20:26 GMT, Daniel Fuchs wrote: >> Hi, >> >> Please find below a fix for: >> 8265367: [macos-aarch64] 3 java/net/httpclient/websocket tests fail with >> "IOException: No buffer space available" >> >> The Pending* websocket tests create a server that accepts sockets to cre

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

RFR: 8267938: SCTP channel factory methods should check platform support

2021-05-28 Thread Chris Hegarty
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 platform support is assumed once the appropriate libsctp.so.1 libra