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

To download the current JDK release, click here.
5.0 b28Resolved

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.


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

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