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

The default CookieHandler is not installed

    XMLWordPrintable

Details

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

    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.

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: