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

(fmt) Formatter spec says "char" is not an integral type

XMLWordPrintable

    • b115
    • generic
    • solaris_8

      The Formatter spec unfortunately says that "char" is not an integral type.
      This disagrees with the JLS specification (4.2.1).
      In dividing the conversions into categories, the Formatter spec
      says of the integral conversions:

         1. Integral - may be applied to Java integral types: byte, Byte,
            short, Short, int and Integer, long, Long, and BigInteger

      It is strange that a Java language integral type is described by the spec
      as not being an integral type, and it is strange that it can't be formatted
      as a number.

            smarks Stuart Marks
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: