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.
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.