On Fri, 29 May 2026 06:36:35 GMT, Jaikiran Pai <[email protected]> wrote:

>> Thanks you all for your support! This sounds like a reasonable plan to me.
>> 
>> How do you plan to solve point "3. For JDK 27, introduce a system 
>> property..."? Do you want to do this with the initial fix for 
>> [JDK-7036144](https://bugs.openjdk.org/browse/JDK-7036144), by wrapping the 
>> input stream and overriding available() or in a completely different way?
>> 
>> It's also just a week away from Rampdown Phase One for JDK 27, so we have to 
>> hurry up.
>
>> How do you plan to solve point "3. For JDK 27, introduce a system 
>> property..."? Do you want to do this with the initial fix for 
>> [JDK-7036144](https://bugs.openjdk.org/browse/JDK-7036144), by wrapping the 
>> input stream and overriding available() or in a completely different way?
> 
> The plan is to reintroduce the change that was done for JDK-7036144 and 
> enable that new behaviour only when the new system property is enabled. When 
> that system property isn't set (or disabled), which would be the default 
> case, then the implementation will continue with the long standing behaviour 
> of using `InputStream.available()`.

> @jaikiran, is my understanding correct that by "reintroduce the change that 
> was done for JDK-7036144" you implicitly also mean to reintroduce the fix 
> [JDK-8374644](https://bugs.openjdk.org/browse/JDK-8374644) for the 
> performance regression

Correct.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30925#discussion_r3323772824

Reply via email to