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

MessageFormat.formatToCharacterIterator() can be improved

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • core-libs
    • b09
    • generic
    • generic

      The public method can benefit from failing faster so that there is no pointless object creation if the method should throw NPE. In addition, the toArray() call with a fixed size should be changed to empty.

            jlu Justin Lu
            jlu Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: