RFR: 8159: openUncompressedStream supports compressed inputs on all streams [v2]

Carter Kozak duke at openjdk.org
Wed Dec 13 16:27:10 UTC 2023


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

Carter Kozak has updated the pull request incrementally with one additional commit since the last revision:

  empty commit for CI

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

Changes:
  - all: https://git.openjdk.org/jmc/pull/539/files
  - new: https://git.openjdk.org/jmc/pull/539/files/480a1cec..f085c7cb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jmc&pr=539&range=01
 - incr: https://webrevs.openjdk.org/?repo=jmc&pr=539&range=00-01

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jmc/pull/539.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/539/head:pull/539

PR: https://git.openjdk.org/jmc/pull/539


More information about the jmc-dev mailing list