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

Upgrade Cookie handling classes in java.net package to conform with RFC 6265

XMLWordPrintable

    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10
      Java 17

      A DESCRIPTION OF THE PROBLEM :
      According to RFC 6265

      "this document requests the following actions:

         1. Change the status of [RFC2109] to Historic (it has already been
             obsoleted by [RFC2965]).

         2. Change the status of [RFC2965] to Historic.

         3. Indicate that [RFC2965] has been obsoleted by this document.

         In particular, in moving RFC 2965 to Historic and obsoleting it, this
         document deprecates the use of the Cookie2 and Set-Cookie2 header
         fields."

      Hence classes which depends on RFC 2965 & RFC 2109

      1) HttpCookie [https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/HttpCookie.html]

      2) CookiePolicy [https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/net/CookiePolicy.html]

      Must be updated to conform with RFC 6265 [https://www.rfc-editor.org/rfc/rfc6265]




            jpai Jaikiran Pai
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: