JDK-8360178 : TestArguments.atojulong gtest has incorrect format string
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2025-06-23
  • Updated: 2025-06-23
Related Reports
Blocks :  
Description
In the TestArguments.atojulong gtest there is a use of jio_snprintf to print ULLONG_MAX. The format directive used is JULONG_FORMAT, which on some platforms is "%lu". That works on such platforms, but will trigger a gcc printf warning if enabled.

Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25927 Date: 2025-06-23 02:05:29 +0000
23-06-2025