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

Remove redundant allocations from DoubleByteEncoder

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 20
    • None
    • client-libs
    • 2d
    • b11

      There are couple places where new byte array is allocated and then thrown away.

          byte[] outputBytes = new byte[2];
          outputBytes = encodeSurrogate(c, c2);

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: