> 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:
Refactoring
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10412/files
- new: https://git.openjdk.org/jdk/pull/10412/files/36f23e5c..eb45b770
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=02-03
Stats: 107 lines in 3 files changed: 88 ins; 3 del; 16 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