Details
-
Bug
-
Resolution: Fixed
-
P3
-
11.0.11, 16
-
b25
-
linux
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332037 | 11.0.25-oracle | Sean Coffey | P3 | Resolved | Fixed | b01 |
JDK-8327629 | 11.0.24 | Qi Ao | P3 | Resolved | Fixed | b01 |
JDK-8332038 | 8u431 | Sean Coffey | P3 | Resolved | Fixed | b01 |
Description
$ jshell
| Welcome to JShell -- Version 11.0.11
| For an introduction type: /help intro
jshell> com.sun.nio.sctp.SctpChannel.open()
| Exception java.net.SocketException: Protocol not supported
| at SctpNet.socket0 (Native Method)
| at SctpNet.socket (SctpNet.java:85)
| at SctpChannelImpl.<init> (SctpChannelImpl.java:137)
| at SctpChannel.open (SctpChannel.java:170)
| at (#1:1)
It would be more appropriate to check for EPROTONOSUPPORT and ESOCKTNOSUPPORT, and throw UOE rather than SE.
Attachments
Issue Links
- backported by
-
JDK-8327629 (sctp) SCTP channel factory methods should check platform support
- Resolved
-
JDK-8332037 (sctp) SCTP channel factory methods should check platform support
- Resolved
-
JDK-8332038 (sctp) SCTP channel factory methods should check platform support
- Resolved
- duplicates
-
JDK-8267353 java/net/SctpSanity.java fails due to Protocol not supported
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/7b7fbdf6
-
Commit openjdk/jdk/bd31653e
-
Review openjdk/jdk11u-dev/2500
-
Review openjdk/jdk/4246