Locks implementing Closable

Pavel Rappo pavel.rappo at oracle.com
Wed Apr 20 15:52:42 UTC 2016

Here's a bit of background for you to explore:


I'm sure if you google it, you'll find more. Much, much more.

> On 20 Apr 2016, at 14:45, kurtymckurt <kurtymckurt at gmail.com> wrote:
> Has it been considered to have the Lock interface use AutoCloseable?  That
> way users can lock in a try and not have to worry about a finally?
> --
> View this message in context: http://openjdk.5641.n7.nabble.com/Locks-implementing-Closable-tp267580.html
> Sent from the OpenJDK Core Libraries mailing list archive at Nabble.com.

More information about the core-libs-dev mailing list