RFR: 8321053: Use ByteArrayInputStream.buf directly when parameter of transferTo() is trusted [v2]

Brian Burkhalter bpb at openjdk.org
Thu Nov 30 23:30:20 UTC 2023


> Pass `ByteArrayInputStream.buf ` directly to the `OutputStream` parameter of `BAIS.transferTo` only if the target stream is in the `java.io` package.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8321053: Trust non-FilterOutputStreams in "java." packages

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16893/files
  - new: https://git.openjdk.org/jdk/pull/16893/files/a42a45ce..176d5165

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

  Stats: 23 lines in 2 files changed: 10 ins; 0 del; 13 mod
  Patch: https://git.openjdk.org/jdk/pull/16893.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16893/head:pull/16893

PR: https://git.openjdk.org/jdk/pull/16893


More information about the core-libs-dev mailing list