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

MessageFormat.formatToCharacterIterator() can be improved

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: