JDK-4927987 : The default CookieHandler is not installed
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-09-25
  • Updated: 2017-05-16
  • Resolved: 2003-11-03
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
5.0 b28Fixed
Description

Name: akR10050			Date: 09/25/2003


The default CookieHandler as returned by CookieHandler.getDefault() is null.
That is OK, if this behaviour is specified by javadoc specification.

Currently, getDefault says nothing about the return value and its meaning of
CookieHandler.getDefault() method. setDefault(CookieHandler) method
specification also says nothing on what should be the behaviour in response to
null (should it unset the current cookie handler or throw an exception?).

Either the reference implementation should provide a default cookie handler or
completely specify the behaviour. Current specification is not enough to allow
implementors compatible cookie handlers since it leaves many aspects of
CookieHandler behaviour blank.

======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b28 tiger-beta
14-06-2004

EVALUATION Will try to clarify in Tiger. ###@###.### 2003-09-25
25-09-2003