On Tue, 1 Oct 2024 07:22:46 GMT, Matthias Baesken <mbaes...@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 ?

This pull request has now been integrated.

Changeset: c8c4ff20
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/c8c4ff2035c4e19a71f4395d23f036ba88d2e291
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8341135: Incorrect format string after JDK-8339475

Reviewed-by: shade, clanger, alanb

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

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

Reply via email to