RFR: 8022176: Weaken contract of java.lang.AutoCloseable

Mike Duigou mike.duigou at oracle.com
Fri Aug 23 15:13:16 PDT 2013


Looks like the same text as agreed on the Lambda EG list. So, +1

Mike

On Aug 23 2013, at 14:35 , Henry Jen wrote:

> Hi,
> 
> Please review the javadoc spec change for AutoCloseable.
> 
> Basically, it clarifies that AutoCloseable is to be automatically closed
> with try-with-resource construct, and the implementation may or may not
> hold resources that need to be closed.
> 
> http://cr.openjdk.java.net/~henryjen/ccc/8022176/webrev/
> 
> Cheers,
> Henry
> 
> 



More information about the lambda-dev mailing list