On Sun, 18 Oct 2026 04:21:04 GMT, Benjamin Peterson <[email protected]> 
wrote:

> It sounds like it was the right call to deduplicate JDK-8394737 into then 
> JDK-8387022, since my issue is one part of the original.

Would it be possible to zoom out for a moment and explain how you got here? Did 
you encounter a class that extends FIS and overrides read with a broken 
implementation or it was this a drive-by observation?

JDK-8387022 is about the problematic readNBytes implementation in FIS and 
sun.nio.ch.CIS.readNBytes. It's the same code where it doesn't handle read 
returning 0 correctly.

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

PR Comment: https://git.openjdk.org/jdk/pull/33401#issuecomment-6246237348

Reply via email to