JDK-8158238 : java/net/httpclient/ImmutableHeaders.java fails intermittently
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-05-31
  • Updated: 2016-12-12
  • Resolved: 2016-12-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorResolved
Related Reports
Duplicate :  
Description
java/net/httpclient/ImmutableHeaders.java fails intermittently

#section:main
----------messages:(4/162)----------
command: main ImmutableHeaders
reason: User specified action: run main/othervm ImmutableHeaders
Mode: othervm [/othervm specified]
elapsed time (seconds): 1.123
----------configuration:(0/0)----------
----------System.out:(1/20)----------
Server port = 41936
----------System.err:(30/2220)----------
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcherImpl.read0(java.base@9-ea/Native Method)
        at sun.nio.ch.SocketDispatcher.read(java.base@9-ea/SocketDispatcher.java:39)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(java.base@9-ea/IOUtil.java:223)
        at sun.nio.ch.IOUtil.read(java.base@9-ea/IOUtil.java:197)
        at sun.nio.ch.SocketChannelImpl.read(java.base@9-ea/SocketChannelImpl.java:382)
        at java.net.http.PlainHttpConnection.readImpl(java.httpclient@9-ea/PlainHttpConnection.java:219)
        at java.net.http.HttpConnection.read(java.httpclient@9-ea/HttpConnection.java:308)
        at java.net.http.HttpConnection.read(java.httpclient@9-ea/HttpConnection.java:284)
        at java.net.http.Http1Response.getBuffer(java.httpclient@9-ea/Http1Response.java:249)
        at java.net.http.Http1Response.readStatusLine(java.httpclient@9-ea/Http1Response.java:262)
        at java.net.http.Http1Response.readHeaders(java.httpclient@9-ea/Http1Response.java:67)
        at java.net.http.Http1Exchange.getResponse(java.httpclient@9-ea/Http1Exchange.java:142)
        at java.net.http.Exchange.responseImpl0(java.httpclient@9-ea/Exchange.java:147)
        at java.net.http.Exchange.responseImpl(java.httpclient@9-ea/Exchange.java:127)
        at java.net.http.Exchange.response(java.httpclient@9-ea/Exchange.java:84)
        at java.net.http.MultiExchange.response(java.httpclient@9-ea/MultiExchange.java:98)
        at java.net.http.HttpRequestImpl.response(java.httpclient@9-ea/HttpRequestImpl.java:212)
        at ImmutableHeaders.main(ImmutableHeaders.java:82)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(java.base@9-ea/Thread.java:804)