Details
-
Bug
-
Resolution: Fixed
-
P3
-
8, 11, 13, 14
-
b26
-
windows_10
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8246768 | 13.0.4 | Michael McMahon | P3 | Resolved | Fixed | b05 |
JDK-8240089 | 11.0.8 | Michael McMahon | P3 | Resolved | Fixed | b01 |
JDK-8235581 | 11.0.7-oracle | Vaibhav Choudhary | P3 | Resolved | Fixed | b01 |
JDK-8240288 | 11.0.7 | Michael McMahon | P3 | Resolved | Fixed | b06 |
Description
timeout: 10
Read timed out, as expected
loop: 0
Read timed out, as expected
loop: 1
Read timed out, as expected
loop: 2
Read timed out, as expected
loop: 3
Read timed out, as expected
connect failed as expected: java.net.ConnectException: Connection refused: no further information
----------System.err:(16/1027)----------
java.net.SocketTimeoutException: Connect timed out
at java.base/sun.nio.ch.SocketChannelImpl.finishTimedConnect(SocketChannelImpl.java:1038)
at java.base/sun.nio.ch.SocketChannelImpl.blockingConnect(SocketChannelImpl.java:1071)
at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:89)
at AdaptSocket.testConnect(AdaptSocket.java:162)
at AdaptSocket.main(AdaptSocket.java:205)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:832)
Looks similar toJDK-8234823, adjusting the connect() timeout from 2000 to 2500 makes the test pass.
Read timed out, as expected
loop: 0
Read timed out, as expected
loop: 1
Read timed out, as expected
loop: 2
Read timed out, as expected
loop: 3
Read timed out, as expected
connect failed as expected: java.net.ConnectException: Connection refused: no further information
----------System.err:(16/1027)----------
java.net.SocketTimeoutException: Connect timed out
at java.base/sun.nio.ch.SocketChannelImpl.finishTimedConnect(SocketChannelImpl.java:1038)
at java.base/sun.nio.ch.SocketChannelImpl.blockingConnect(SocketChannelImpl.java:1071)
at java.base/sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:89)
at AdaptSocket.testConnect(AdaptSocket.java:162)
at AdaptSocket.main(AdaptSocket.java:205)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
at java.base/java.lang.Thread.run(Thread.java:832)
Looks similar to
Attachments
Issue Links
- backported by
-
JDK-8235581 java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
- Resolved
-
JDK-8240089 java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
- Resolved
-
JDK-8240288 java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
- Resolved
-
JDK-8246768 java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
- Resolved
- relates to
-
JDK-8234823 java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
- Resolved