JDK-8232052 : use string literal for format string when handling PauseAtStartupFile
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-10-09
  • Updated: 2020-06-01
  • Resolved: 2019-10-11
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 13 JDK 14
11.0.6Fixed 13.0.4Fixed 14 b19Fixed
Description
Currently only on Linux (os_linux.cpp) the format string is a string literal and not a variable  when handling  the PauseAtStartupFile flag.
This was done on Linux with
https://bugs.openjdk.java.net/browse/JDK-8042894
when handling gcc warnings; however on the other platforms it is recommended to do the same.
Comments
Fix request (13u): The change applies cleanly.
28-05-2020

Fix request (11u): Requesting to add this patch to jdk11u because we have the issue there too . Patch applies cleanly .
13-11-2019

URL: https://hg.openjdk.java.net/jdk/jdk/rev/430b9a492a05 User: mbaesken Date: 2019-10-11 07:19:14 +0000
11-10-2019