Details
-
Bug
-
Resolution: Fixed
-
P2
-
19
-
b11
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313296 | 17.0.10-oracle | Ramesh Gangadhar | P2 | Closed | Fixed | b01 |
JDK-8316572 | 17.0.10 | Goetz Lindenmaier | P2 | Resolved | Fixed | b01 |
JDK-8325992 | 11.0.24-oracle | Weibing Xiao | P2 | Closed | Fixed | b01 |
JDK-8331140 | 11.0.24 | Amos SHI | P2 | Resolved | Fixed | b01 |
Description
sun/net/www/protocol/https/HttpsURLConnection/B6216082.java
Here's a snippet from the log file:
#section:main
----------messages:(5/251)----------
command: main B6216082
reason: User specified action: run main/othervm B6216082
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.base --add-exports java.base/sun.net.www=ALL-UNNAMED
elapsed time (seconds): 1.31
----------configuration:(4/99)----------
Boot Layer
add modules: java.base
add exports: java.base/sun.net.www ALL-UNNAMED
----------System.out:(3/75)----------
100.101.199.161
https server listen on: 39879
https proxy listen on: 35221
----------System.err:(21/1569)----------
java.net.SocketException: Unexpected end of file from server
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:936)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:759)
at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling0(HttpURLConnection.java:2173)
at java.base/sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2135)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1664)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1588)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:308)
at B6216082.makeHttpCall(B6216082.java:183)
at B6216082.main(B6216082.java:90)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:828)
JavaTest Message: Test threw exception: java.net.SocketException: Unexpected end of file from server
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.net.SocketException: Unexpected end of file from server
----------rerun:(38/8066)*----------
I'm starting this bug as a P2 since it looks like a regression.
Attachments
Issue Links
- backported by
-
JDK-8316572 sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
- Resolved
-
JDK-8331140 sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
- Resolved
-
JDK-8313296 sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
- Closed
-
JDK-8325992 sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
- Closed
- relates to
-
JDK-8061729 Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/decacb83
-
Commit openjdk/jdk17u-dev/f3ee6ead
-
Commit openjdk/jdk/cd9a3cf0
-
Review openjdk/jdk11u-dev/2650
-
Review openjdk/jdk17u-dev/1750
-
Review openjdk/jdk/7503
-
Review openjdk/jdk/7519