> Here's a suggested solution for the ticket mentioned and a use case for
> outputStream. I'm not attached to the name.
>
> This saves space for all allocated outputStreams, which is nice. It also
> makes the purpose of ResourceObj more clear ("please handle the life cycle
> for me"), reducing the need for it.
>
> Thank you for considering it.
Johan Sjölen has updated the pull request incrementally with one additional
commit since the last revision:
Try out Coleen's suggestion
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10412/files
- new: https://git.openjdk.org/jdk/pull/10412/files/eb0174f6..11e88122
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=00-01
Stats: 61 lines in 2 files changed: 1 ins; 42 del; 18 mod
Patch: https://git.openjdk.org/jdk/pull/10412.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10412/head:pull/10412
PR: https://git.openjdk.org/jdk/pull/10412