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

Remove jdk.internal.reflect.UTF8

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 23
    • None
    • core-libs

      This utility class contains an encode method that appears to have been introduced to avoid some potential bootstrapping issue with charset encoders.

      Since JDK 9 we have a fast-path (which avoids creating encoders) for UTF-8-encoding strings which is bootstrapped very early, so it seems safe to rewire this and remove the UTF8 helper class.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: