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

Skip bounds check for cases when String is constructed from entirely used byte[]

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • core-libs
    • None
    • b07

      We can skip bounds check and null check for Charset in case we use the array entirely and the Charset is either default one or proven to be non-null.

            stsypanov Sergey Tsypanov
            stsypanov Sergey Tsypanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: