On Sat, 8 Aug 2026 15:56:55 GMT, Markus KARG <[email protected]> wrote:

> 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).

Given the complexities of handling buffering and state in `CharsetDecoder`, 
should we consider an alternative where we support the known and most popular 
stateless decoders, like ASCII, ISO8859-1, UTF8, and UTF16 without BOM?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32264#issuecomment-5248596461

Reply via email to