Code Review Request: 8017779: java/net/Authenticator/B4769350.java fails (original) (raw)
Kurchi Hazra kurchi.subhra.hazra at oracle.com
Tue Jul 16 12:11:20 PDT 2013
- Previous message: hg: jdk8/tl/jdk: 8020409: Clean up doclint problems in java.util package, part 1
- Next message: Code Review Request: 8017779: java/net/Authenticator/B4769350.java fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: hg: jdk8/tl/jdk: 8020409: Clean up doclint problems in java.util package, part 1
- Next message: Code Review Request: 8017779: java/net/Authenticator/B4769350.java fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]