Details
Description
The classlib test org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest
fails testUsingProxy and testUsingProxySelector cases, with the following trace:
java.net.ConnectException: localhost/127.0.0.1:39738 - Connection refused
at java.io.IOException.<init>(IOException.java:46)
at java.net.SocketException.<init>(SocketException.java:47)
at java.net.ConnectException.<init>(ConnectException.java:45)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
at java.net.Socket.connect(Socket.java:978)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:630)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:581)
at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy(HttpURLConnectionTest.java:201)
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
This is probably regression, accordingly to reports on http://harmonytest.org these testcases fail since 10/25.
Interesting, the test fails on DRLVM only and mostly on Linux, but there are Windows failures also, eg [0]. Besides, AFAIK there was no recent progress on the glorified hysock interruption problem therefore I doubt this is really DRLVM specific...
[0] http://harmonytest.org/testapp.do?method=showresult&id=1436942
Attachments
Issue Links
- duplicates
-
HARMONY-1879 [drlvm][unit] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest fails
- Closed