-
Bug
-
Resolution: Fixed
-
P4
-
15
-
b28
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8247649 | 16 | Jie Fu | P4 | Resolved | Fixed | b02 |
JDK-8249438 | 15.0.1 | Unassigned | P4 | Resolved | Fixed | b01 |
IPSupport - IPv4: true
IPSupport - IPv6: false
preferIPv4Stack: false
preferIPv6Addresses: false
IA4LOCAL: /*.*.*.* <--- here is my ip
IA6LOCAL: null
IA4ANYLOCAL: /0.0.0.0
IA6ANYLOCAL: /0:0:0:0:0:0:0:0
IA4LOOPBACK: /127.0.0.1
IA6LOOPBACK: /0:0:0:0:0:0:0:1
config OpenAndConnect.setup(): success
...
test OpenAndConnect.dcOpenAndConnect(INET, /0.0.0.0, INET, /127.0.0.1): success
test OpenAndConnect.dcOpenAndConnect(INET6, /0:0:0:0:0:0:0:0, null, /0:0:0:0:0:0:0:1): failure
java.lang.UnsupportedOperationException: IPv6 not available
at java.base/sun.nio.ch.DatagramChannelImpl.<init>(DatagramChannelImpl.java:183)
at java.base/sun.nio.ch.SelectorProviderImpl.openDatagramChannel(SelectorProviderImpl.java:55)
at java.base/java.nio.channels.DatagramChannel.open(DatagramChannel.java:188)
at OpenAndConnect.openDC(OpenAndConnect.java:261)
at OpenAndConnect.dcOpenAndConnect(OpenAndConnect.java:232)
IPSupport - IPv6: false
preferIPv4Stack: false
preferIPv6Addresses: false
IA4LOCAL: /*.*.*.* <--- here is my ip
IA6LOCAL: null
IA4ANYLOCAL: /0.0.0.0
IA6ANYLOCAL: /0:0:0:0:0:0:0:0
IA4LOOPBACK: /127.0.0.1
IA6LOOPBACK: /0:0:0:0:0:0:0:1
config OpenAndConnect.setup(): success
...
test OpenAndConnect.dcOpenAndConnect(INET, /0.0.0.0, INET, /127.0.0.1): success
test OpenAndConnect.dcOpenAndConnect(INET6, /0:0:0:0:0:0:0:0, null, /0:0:0:0:0:0:0:1): failure
java.lang.UnsupportedOperationException: IPv6 not available
at java.base/sun.nio.ch.DatagramChannelImpl.<init>(DatagramChannelImpl.java:183)
at java.base/sun.nio.ch.SelectorProviderImpl.openDatagramChannel(SelectorProviderImpl.java:55)
at java.base/java.nio.channels.DatagramChannel.open(DatagramChannel.java:188)
at OpenAndConnect.openDC(OpenAndConnect.java:261)
at OpenAndConnect.dcOpenAndConnect(OpenAndConnect.java:232)
- backported by
-
JDK-8247649 java/nio/channels/etc/OpenAndConnect.java fails due to IPv6 not available
- Resolved
-
JDK-8249438 java/nio/channels/etc/OpenAndConnect.java fails due to IPv6 not available
- Resolved
- relates to
-
JDK-8241305 Add protocol specific factory creation methods to SocketChannel and ServerSocketChannel
- Resolved