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

    • Sub-task
    • Resolution: Delivered
    • P4
    • 17
    • 17
    • core-libs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: