> 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 17 additional commits since the last revision: - Merge remote-tracking branch 'upstream/master' into StreamDecover-readAllAsString - 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() - ... and 7 more: https://git.openjdk.org/jdk/compare/326757b3...833a91c0 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/32264/files - new: https://git.openjdk.org/jdk/pull/32264/files/fc2364f7..833a91c0 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=32264&range=09 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=32264&range=08-09 Stats: 209837 lines in 2082 files changed: 77662 ins; 95515 del; 36660 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
