RFR: 8159: openUncompressedStream supports compressed inputs on all streams

Carter Kozak duke at openjdk.org
Wed Dec 13 15:43:17 UTC 2023


On Wed, 13 Dec 2023 15:35:15 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:

>> Previously this function supported compressed inputs only when the provided stream supported mark/reset. By shifting the BufferedInputStream wrapper prior to compression checks, we can support consistent behavior regardless of the stream implementation.
>> The new tests in this commit fail without the accompanying change to `IOToolkit.java`.
>> 
>> I'd be grateful if anyone could help create a jmc issue for this, I lack perms to create a ticket as described in the [contributing docs](https://github.com/openjdk/jmc/blob/master/CONTRIBUTING.md#pull-requests).
>
> @carterkozak I've created an issue for this: https://bugs.openjdk.org/browse/JMC-8159

Thank you, @aptmac!

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

PR Comment: https://git.openjdk.org/jmc/pull/539#issuecomment-1854166716


More information about the jmc-dev mailing list