Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4927987

The default CookieHandler is not installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 5.0
    • core-libs
    • b28
    • generic
    • generic



      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.

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

            ywangsunw Yingxian Wang (Inactive)
            kaisunw Kai Kai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: