Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8217261

ResponseCacheTest.java: Unexpected end of file from server

    XMLWordPrintable

Details

    Description

      Test: java/net/ResponseCache/ResponseCacheTest.java

      java.net.SocketException: Unexpected end of file from server
      at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:862)
      at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
      at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:859)
      at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1604)
      at java.base/sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1501)
      at java.base/sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1499)
      at java.base/java.security.AccessController.doPrivileged(AccessController.java:688)
      at java.base/java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:940)
      at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
      at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
      at ResponseCacheTest.<init>(ResponseCacheTest.java:132)
      at ResponseCacheTest.main(ResponseCacheTest.java:167)
      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:567)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.net.SocketException
      JavaTest Message: shutting down test


      JavaTest Message: Problem cleaning up the following threads:
      Thread-2
        at java.base@13-internal/java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.base@13-internal/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458)
        at java.base@13-internal/java.net.ServerSocket.implAccept(ServerSocket.java:556)
        at java.base@13-internal/java.net.ServerSocket.accept(ServerSocket.java:524)
        at ResponseCacheTest.run(ResponseCacheTest.java:53)
        at java.base@13-internal/java.lang.Thread.run(Thread.java:835)

      Attachments

        Issue Links

          Activity

            People

              dfuchs Daniel Fuchs
              jwilhelm Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: