Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8244706 GZIP "OS" header flag hard-coded to 0 instead of 255 (RFC 1952 non-compliance)
  3. JDK-8253185

Release Note: GZIPOutputStream Sets the GZIP OS Header Field to the Correct Default Value

    XMLWordPrintable

    Details

      Description

      Prior to JDK 16, GZIPOutputStream set the OS field in the GZIP header to 0 (meaning FAT filesystem), which does not match the default value specified in section 2.3.1.2 of the GZIP file format specification version 4.3 (RFC 1952).

      As of JDK 16, the GZIP OS Header Field is set to 255, which is the default value as defined in RFC 1952.

        Attachments

          Activity

            People

            Assignee:
            lancea Lance Andersen
            Reporter:
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: