RFR: 8341135: Incorrect format string after JDK-8339475
Alan Bateman
alanb at openjdk.org
Tue Oct 1 08:54:38 UTC 2024
On Tue, 1 Oct 2024 07:22:46 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> 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 ?
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/21278#pullrequestreview-2339557955
More information about the core-libs-dev
mailing list