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

Henry Jen henry.jen at oracle.com
Fri Aug 23 14:35:27 PDT 2013


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