JDK-8257707 : Fix incorrect format string in Http1HeaderParser
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 11.0.1,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-12-03
  • Updated: 2021-04-01
  • Resolved: 2020-12-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 15 JDK 16
11.0.11Fixed 15.0.4Fixed 16 b28Fixed
Related Reports
Relates :  
Description
Created for PR: https://github.com/openjdk/jdk/pull/1495

Incorrect format string was found by IntelliJ IDEA inspection Java | Probable bugs | Malformed format string

Comments
Fix request (15u) patch applies cleanly, java/net/httpclient and tier1/2 run well
01-04-2021

Fix Request (11u) This fixes the issue already existing in 11.0.1. The formatting issue is on exception path (would probably fail with String pattern compilation). Patch applies cleanly to 11u, java/net/httpclient tests are passing, tier{1,2} are passing.
15-02-2021

Changeset: c6f93ec9 Author: Andrey Turbanov <turbanoff@gmail.com> Committer: Daniel Fuchs <dfuchs@openjdk.org> Date: 2020-12-04 10:19:30 +0000 URL: https://git.openjdk.java.net/jdk/commit/c6f93ec9
04-12-2020

Introduced by JDK-8204679.
03-12-2020