[
https://issues.apache.org/jira/browse/JDO-653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig L Russell resolved JDO-653.
---------------------------------
Fix Version/s: JDO 3
Resolution: Fixed
Patch applied to trunk: svn commit -m "JDO-653 Thanks to Peter Dettman for the
patch" src/java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterCloseSetMethodsThrowException.java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/Close.java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/CloseFailsIfTransactionActive.java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/CloseWithoutPermissionThrowsSecurityException.java
Transmitting file data ....
Committed revision 959037.
Patch applied to branches/3.0: svn commit -m "JDO-653 Thanks to Peter Dettman
for the patch" src/java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/AfterCloseSetMethodsThrowException.java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/Close.java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/CloseFailsIfTransactionActive.java
Sending
src/java/org/apache/jdo/tck/api/persistencemanagerfactory/CloseWithoutPermissionThrowsSecurityException.java
Transmitting file data ....
Committed revision 959039.
> Extra checks in PMF.close tests
> -------------------------------
>
> Key: JDO-653
> URL: https://issues.apache.org/jira/browse/JDO-653
> Project: JDO
> Issue Type: Test
> Components: tck
> Affects Versions: JDO 2 maintenance release 2
> Reporter: Peter Dettman
> Assignee: Michelle Caisse
> Fix For: JDO 3
>
> Attachments: JDO-653-2nd.patch, JDO-653-tck.patch, JDO-653.patch
>
>
> Some of the implications of section 11.4 don't appear to be checked for in
> the case of an already-closed PersistenceManagerFactory.
> 1. If close() is called on an already-closed PMF (with correct permission
> i.e. "closePersistenceManagerFactory"), no exception should be thrown.
> 2. If close() is called on an already-closed PMF (without correct
> permission), exception should be thrown (even though it would otherwise do
> nothing).
> 3. If close() fails (throws JDOUserException) due to active transaction(s),
> then none of the PersistenceManager objects belonging to the PMF should have
> actually been closed.
> 4. Several get/set pairs are not tested for their behaviour after close()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.