Coupling in ExtentLocal
Kasper Nielsen
kasperni at gmail.com
Fri Jul 29 09:15:38 UTC 2022
On Thu, 28 Jul 2022 at 22:11, Holo The Sage Wolf <holo3146 at gmail.com> wrote:
> I have a question about the proposal, why not allow try-with-resources
> with this API?
>
Hi,
For Loom related questions, loom-dev at openjdk.org is probably a better fit.
The main problem with TWR is that it cannot guard against non-nested use.
Because there are no way to force the user to call close(). See more here
[1]
/Kasper
[1] https://mail.openjdk.org/pipermail/loom-dev/2021-June/002558.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20220729/db695478/attachment-0001.htm>
More information about the core-libs-dev
mailing list