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

Replace SIZE_FORMAT with 'z' length modifier

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 22
    • 16
    • hotspot

      C99 introduced the 'z' length modifier for formatted output. Quoting from the C99 standard (7.19.6.1/7)

      "Specifies that a following d, i, o, u, x, or X conversion specifier applies to a size_t or the corresponding signed integer type argument;"

      Because C99 is implicitly available with C++14, we can now use the 'z' modifier instead of the more verbose and clumsy to use SIZE_FORMAT and friends provided by globalDefinitions.hpp.

            coleenp Coleen Phillimore
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: