> 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:
Fix include order
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10412/files
- new: https://git.openjdk.org/jdk/pull/10412/files/9a365985..f8302de2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=06
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10412&range=05-06
Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 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