RFR: 8341135: Incorrect format string after JDK-8339475 [v2]
Matthias Baesken
mbaesken at openjdk.org
Tue Oct 1 13:15:51 UTC 2024
> 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 ?
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
use blank in output
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21278/files
- new: https://git.openjdk.org/jdk/pull/21278/files/1d649c89..9db76777
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21278&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21278&range=00-01
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
More information about the core-libs-dev
mailing list