This fixes a format string issue.

In the error report it was reported : 'The compiler should be able to catch 
this if JLI_ReportErrorMessageSys was declared with something like 
__attribute__ ((format (printf, 1, 2))).'
Should we maybe adjust  JLI_ReportErrorMessageSys , JLI_ReportErrorMessage  and 
related functions/methods  using a format string so that such errors can be 
found already at build time ?

-------------

Commit messages:
 - JDK-8341135

Changes: https://git.openjdk.org/jdk/pull/21278/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21278&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341135
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/21278.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21278/head:pull/21278

PR: https://git.openjdk.org/jdk/pull/21278

Reply via email to