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

rfc7301Grease8F value not displayed correctly in SSLParameters javadoc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: security-libs
    • Labels:
      None

      Description

      Currently, the SSLParameters javadoc has an example String for coding purposes:
      https://docs.oracle.com/en/java/javase/16/docs/api/java.base/javax/net/ssl/SSLParameters.html

      // 0x00-0xFF: 1 byte
           String rfc7301Grease8F = "\008F\008F";

      The Unicode encoding is being lost. I think either of these values in the src code should work:

      String rfc7301Grease8F = "\\u008F\\u008F";
      String rfc7301Grease8F = "\u005cu008F\u005cu008F";

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wetmore Bradford Wetmore
              Reporter:
              coffeys Sean Coffey
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: