Integrated: 8360281: VMError::error_string has incorrect format usage

Kim Barrett kbarrett at openjdk.org
Mon Jun 23 18:22:33 UTC 2025


On Mon, 23 Jun 2025 12:55:24 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this trivial change to VMError::error_string, applying the `p2i`
> helper function to a pointer being used as the value for a PTR_FORMAT directive.
> 
> Testing: mach5 tier1
> Locally tested with gcc printf warnings enabled for jio_snprintf, and verified
> the warning for the changed call is no longer present.

This pull request has now been integrated.

Changeset: 6df0f5e3
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6df0f5e390ecf874c1eca7284c51efa65ce23737
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8360281: VMError::error_string has incorrect format usage

Reviewed-by: coleenp

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

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


More information about the hotspot-dev mailing list