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

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: