> This Pull Request provides an implementation for > [JDK-8389573](https://bugs.openjdk.org/browse/JDK-8389573): > 'InputStreamReader.readAllAsString() should override the generic Reader > default implementation to avoid unnecessary buffer copies'. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Markus KARG has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 16 additional commits since the last revision: - Merge branch 'master' into StreamDecover-readAllAsString - Proof that subclass is not optimized as requested by Jaikiran - Made implRead private as requested by Jaikiran - external decoder -> explicitly provided decoder - internal decoder -> decoder belongs to the Charset instance - Fixed typo readAllString - Protected backwards-compatible behavior of existing subclasses as proposed by Jaikiran Pai - Removed (fast/slow path) comments - Removed readCalled=true from read() and implRead() - Changed according to requests of Alan Bateman and Jaikiran Pai - ... and 6 more: https://git.openjdk.org/jdk/compare/a212c9f5...fc2364f7 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32264/files - new: https://git.openjdk.org/jdk/pull/32264/files/eab273fa..fc2364f7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32264&range=08 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32264&range=07-08 Stats: 422191 lines in 5391 files changed: 245926 ins; 143217 del; 33048 mod Patch: https://git.openjdk.org/jdk/pull/32264.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32264/head:pull/32264 PR: https://git.openjdk.org/jdk/pull/32264
