Integrated: 8360178: TestArguments.atojulong gtest has incorrect format string

Kim Barrett kbarrett at openjdk.org
Wed Jun 25 15:20:34 UTC 2025


On Mon, 23 Jun 2025 02:05:29 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Please review this fix for the format directive when printing ULLONG_MAX by
> TestArguments.atojulong gtest. Instead of using JULONG_FORMAT, which might not
> be the proper type (though sized properly), use "%llu" to avoid potential
> warning.
> 
> Also changed the test_arguments.cpp file to use os::snprintf instead of
> jio_snprintf, and improved checking the results of those calls.
> 
> Testing: mach5 tier1

This pull request has now been integrated.

Changeset: 878497fb
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/878497fb85b9f7d066829b745324028f9f8cdc60
Stats:     4 lines in 1 file changed: 2 ins; 1 del; 1 mod

8360178: TestArguments.atojulong gtest has incorrect format string

Reviewed-by: dholmes

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

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


More information about the hotspot-runtime-dev mailing list