-
Bug
-
Resolution: Fixed
-
P4
-
11, 17
-
> ping 192.168.255.255
ping: connect: Network is unreachable
-
b03
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8365728 | 11.0.29 | Sendao Yan | P4 | Resolved | Fixed | b04 |
Test java/net/Socket/B8312065.java fails "java.net.ConnectException: Network is unreachable (connect failed)" on some machines.
The test log snippet:
STDOUT:
SIGPIPE
STDERR:
java.net.ConnectException: Network is unreachable (connect failed)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:668)
at B8312065.main(B8312065.java:77)
The test log snippet:
STDOUT:
SIGPIPE
STDERR:
java.net.ConnectException: Network is unreachable (connect failed)
at java.base/java.net.PlainSocketImpl.socketConnect(Native Method)
at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:412)
at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:255)
at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:237)
at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.base/java.net.Socket.connect(Socket.java:668)
at B8312065.main(B8312065.java:77)
- backported by
-
JDK-8365728 [17u,11u] B8312065.java fails Network is unreachable
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk11u-dev/f665ad77
-
Commit(master) openjdk/jdk17u-dev/75fa2e7c
-
Review(master) openjdk/jdk11u-dev/3031
-
Review(master) openjdk/jdk17u-dev/3293