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

newStringNoRepl should avoid copying arrays for ASCII compatible charsets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • None
    • core-libs
    • None
    • b13

      Create on behalf of Glavo<zjx001202@gmail.com>
      -----
      JavaLangAccess::newStringUTF8NoRepl and JavaLangAccess::getBytesUTF8NoRepl are not implemented correctly. They always copy arrays, rather than avoiding copying as much as possible as javadoc says.

            stsypanov Sergey Tsypanov
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: