RFR: 8374610: Make ByteArrayOutputStream.ensureCapacity(int) protected [v2]
Daniel Gredler
dgredler at openjdk.org
Sat Jan 17 17:17:23 UTC 2026
> 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
Daniel Gredler has updated the pull request incrementally with one additional commit since the last revision:
Update per latest feedback
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29180/files
- new: https://git.openjdk.org/jdk/pull/29180/files/ecd31f59..dee9d96a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29180&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29180&range=00-01
Stats: 66 lines in 2 files changed: 42 ins; 17 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/29180.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29180/head:pull/29180
PR: https://git.openjdk.org/jdk/pull/29180
More information about the core-libs-dev
mailing list