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

Details

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

    Description

      ...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/

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: