Make ByteArrayOutputStream.ensureCapacity(int) protected

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      ByteArrayOutputStream.ensureCapacity(int) is currently private. It would be useful if it were protected, so that it can be more easily extended by subclasses.

      Mailing list discussion: https://mail.openjdk.org/pipermail/core-libs-dev/2026-January/156983.html

            Assignee:
            Daniel Gredler
            Reporter:
            Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: