Code Review Request: 7152856: TEST_BUG: sun/net/www/protocol/jar/B4957695.java failing on Windows
Kurchi Hazra
kurchi.subhra.hazra at oracle.com
Fri Apr 13 09:59:23 PDT 2012
Hi,
This test was failing on Windows since it was using the HttpServer in
test/sun/net/www/httptest. The HttpServer implementation
there is buggy and does not close the connection properly, resulting in
the test hanging. We therefore write our own server, which sends back
10 bytes less than what the client expects, and see if the client raises
an IOException.
Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7152856
Webrev: http://cr.openjdk.java.net/~khazra/7152856/webrev.00
Thanks,
Kurchi
More information about the net-dev
mailing list