JDK-6545415 : regression of 5017051
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 1.4.2_13
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-04-12
  • Updated: 2011-05-30
  • Resolved: 2007-05-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_15 b02Fixed
Related Reports
Relates :  
Relates :  
Description
With 1.4.2_13 the manual regression test case for 5017051 no longer passes. The regression test can be found on SWAN at /net/nightsvr.sfbay/export3/jpse/regress.library/5017051.

The testcase essentially tests that if a cookie is set in the 401 (Unauthorized) response from a http server, that that cookie is send in the follow http request send to the server with the users credentials. This is no longer the case with 1.4.2_13.

The fix for 4845728 removes the code in sun.net.www.protocol.http.HttpURLConnection that sets the cookie when responding to a 401.

Comments
EVALUATION reinstate the code in sun.net.www.protocol.http.HttpURLConnection that sets the cookie while handling a 401 response.
2007-04-12