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

[17u] More defensive fix for 8163921

XMLWordPrintable

    • b01

        "JDK-8163921: HttpURLConnection default Accept header is malformed according to HTTP/1.1 RFC" wants to fix syntax errors the header specification. But it also changes the headers accepted. This seems to be a problem for some installations, see JDK-8337684.

        While JDK-8337684 proposes to revert JDK-8163921 from 17 introducing the wrong syntax again, this change just fixes the syntax errors. This is probably better for an established release as 17 than the implementation of 8163921.

        This was proposed by Daniel Jelinski, see also his first approach to fix 8163921: https://github.com/openjdk/jdk/pull/7181/commits/be017d19303b3f0989c7ae92ceda5c90ea4583ba

              goetz Goetz Lindenmaier
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: