Re: Locks implementing Closable

2016-04-20 Thread Pavel Rappo
> 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.

Re: Locks implementing Closable

2016-04-20 Thread kurtymckurt
Thank you very much for the background. -- View this message in context: http://openjdk.5641.n7.nabble.com/Locks-implementing-Closable-tp267580p267599.html Sent from the OpenJDK Core Libraries mailing list archive at Nabble.com.

Re: Locks implementing Closable

2016-04-20 Thread Pavel Rappo
o 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.

Locks implementing Closable

2016-04-20 Thread kurtymckurt
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