Hi,
We have observed that test/java/net/Authenticator/B4769350.java fails intermittently. Although not reproducible always, the bug could be in the test/sun/net/www/httptest library that this test uses. I have rewritten the test to use com.sun.net.httpserver instead since we anyway want to move away from using the httptest library.

I have used CyclicBarriers to mimic TestHttpServer.rendezvous() and CountDownLatches to mimic TestHttpServer.waitForCondition() and hopefully preserved the rest of the logic in the test.
I have not seen the test failing after these changes.

Bug: http://bugs.sun.com/view_bug.do?bug_id=8017779
Webrev: http://cr.openjdk.java.net/~khazra/8017779/webrev.00/

Thanks,
Kurchi

Reply via email to