Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8054307 JEP 254: Compact Strings
  3. JDK-8139070

StringUTF16 should check for the maximum length

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • core-libs
    • None

      ...and throw OutOfMemoryError? This can also be used to collapse the getChar/putChar back to integer computation.

      Something like:
       http://cr.openjdk.java.net/~shade/8139070/webrev.00/

            sherman Xueming Shen
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: