Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8262351 Extra '0' in java.util.Formatter for '%012a' conversion with a sign character
  3. JDK-8271074

Release Note: Extra '0' in java.util.Formatter for '%012a' Conversion With a Sign Character

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: P4
    • Resolution: Delivered
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Verification:
      Verified

      Description

      In previous releases, formatter conversions with a `%a` conversion that used the `0` padding flag and a width specifier would produce paddings containing too many zeros if a leading sign or space character was also specified by their respective flags. This has been fixed so that paddings no longer include too many leading zeros.

        Attachments

          Activity

            People

            Assignee:
            igraves Ian Graves
            Reporter:
            igraves Ian Graves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: