RFR: 8022176: Weaken contract of java.lang.AutoCloseable
Alan.Bateman at oracle.com
Sat Aug 24 08:36:46 UTC 2013
On 23/08/2013 22:35, Henry Jen wrote:
> 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.
I realize this might be agreed wording but I wonder about the term
"header", shouldn't this be "resource specification"?
A minor comment but maybe it should be "I/O" (rather than "IO") to be
consistent with the other javadoc.
More information about the core-libs-dev