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

Refactor uses of JLA.uncheckedNewStringNoRepl

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 26
    • 26
    • core-libs
    • master

      JLA.uncheckedNewStringNoRepl is overkill for many of its uses inside java.base.
      The uses case is creating a String from a byte array containing latin1 character.
      Even though it is known that creating a String from the bytes will not throw an exception the declared CharacterCodingException forces handling a non-occuring exception.

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: