Auto-conversion of synchronized for loom.

Andrew Haley aph-open at littlepinkcloud.com
Fri Sep 1 09:24:28 UTC 2023


On 8/31/23 10:20, Rob Bygrave wrote:
> Another option which was used with Postgres JDBC Driver was to have a ResourceLock extends ReentrantLock implements AutoCloseable and use /try-with-resources/.

Definitely this.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the loom-dev mailing list