Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8360178

TestArguments.atojulong gtest has incorrect format string

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • b04

      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.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: