Optimize Reader.read(CharBuffer)

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • b20

      java.io.Reader.read(java.nio.CharBuffer target) could check to see if the target buffer is a heap buffer and if so, its backing array could be obtained so that the characters can be copied directly into it rather than making an intermediate array.

            Assignee:
            Brian Burkhalter
            Reporter:
            Michael Mccloskey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: