if jsr353 is a part of JDK 8, should AutoCloseable. if it is library, should not be AutoCloseable.
-+ wenshao +-
Date: Sat, 15 Dec 2012 10:21:20 -0800
Subject: [jsr353-experts] Re: JsonParser.close() and exceptions
On 12/15/12 9:45 AM, Werner Keil wrote:
"> Why would we target Java 6 with this release?They can still take advantage of ARM blocks and use SE 7 features in the applications(It is just that we use Closeable instead of AutoCloseable in the API but that doesn't restrict them to use only wiht SE 6)
My preference is to use SE 7 as the base. We had the following discussion and some of them suggested the need to use SE 6, so we went with it. If that's not case, let me know. We can gladly use SE 7 as the base and AutoCloseable !
"> While leaving subsetting an option for later (AFAIK CLDC 8 also plans to support "try with resource" the main scope for this JSR is Java EE7 which is based on Java7 anyway.
[jsr353-experts] Re: JsonParser.close() and exceptions