[
https://issues.apache.org/jira/browse/JDO-735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14741106#comment-14741106
]
Michael Bouschen edited comment on JDO-735 at 9/17/15 7:23 PM:
---------------------------------------------------------------
Looks good.
Should we keep the test class CloseThrowsExceptionWhenActiveTx.java in svn?
I don't think so, so if everybody agrees I will remove it.
was (Author: mbo):
Looks good.
Should we keep the test class CloseThrowsExceptionWhenActiveTx.java in svn?
I don't think so, so if everyboyd agrees I will remove it.
> Make PersistenceManager and Query support AutoCloseable (JDK1.7+)
> -----------------------------------------------------------------
>
> Key: JDO-735
> URL: https://issues.apache.org/jira/browse/JDO-735
> Project: JDO
> Issue Type: New Feature
> Components: api, specification, tck
> Reporter: Andy Jefferson
> Fix For: JDO 3.2
>
> Attachments: CloseWithActiveTxRollsBack.java
>
>
> So then it can be used with JDK1.7+ try-with-resources, as per
> http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)