IOToolkit.openUncompressedStream silently fails to decompresses certain InputStreams

Carter Kozak ckozak at ckozak.net
Wed Dec 13 15:19:12 UTC 2023


Hi all,

The IOToolkit.openUncompressedStream utility in JMC only seems to decompress streams which support mark/reset, returning the input otherwise. Within JMC this seems not to cause any issues because the input is usually a file, however using this functionality as a library produces unexpected behavior where compressed recordings appear corrupted.

I'd be grateful if anyone could help me create a JMC issue for this, I lack permissions to do so myself.
I have proposed a fix here: https://github.com/openjdk/jmc/pull/539

Thanks,
Carter Kozak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jmc-dev/attachments/20231213/32ce4c20/attachment.htm>


More information about the jmc-dev mailing list