Hi Alan, Michael,

Summary: Make test run in othervm.

java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode with a NullPointer Exception cause by CookieHandlerTest$MyCookieHandler.put(CookieHandlerTest.java:131)

The CookieHandlerTest$MyCookieHandler the HTTP protocol handler is using is installed during the run of another test, java/net/CookieHandler/CookieHandlerTest.java. This is clearly not supposed to be installed during the HttpResponseCode test. In fact, it may also have a negative effect on other HTTP releated tests. CookieHandlerTest should be run in othervm mode so that the default cookie handler installed does not effect subsequent tests.

Webrev:
  http://cr.openjdk.java.net/~chegar/6933629/webrev.00/webrev/

Thanks,
-Chris.

Reply via email to