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

java.util.Formatter.format(): Add support unsigned integral conversion as 'u'

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      Recently, I discovered Long.parseUnsignedLong() and Long.toUnsignedString(). (There are similar static methods for other integral types.) However, java.util.Formatter.format() does not support 'u' for unsigned integral conversion. For example, "%lu" could call Long.toUnsignedString(). If this idea was already considered but rejected, please kindly share the reason. I did a lot of searching before raising this RfE, but I cannot find any existing reports, nor discussions of this feature.


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: