On Mon, 3 Oct 2022 13:02:51 GMT, Johan Sjölen <[email protected]> wrote:
>> 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
Scratch the comment regarding memory leaks. C heap allocated ResourceObjs must
be manually deleted anyway.
-------------
PR: https://git.openjdk.org/jdk/pull/10412