Issue Details (XML | Word | Printable)

Key: JDO-394
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Michael Bouschen
Reporter: Christian Ernst
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
JDO

org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager.test() and org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser.test() don't close PMF correctly

Created: 18/Jul/06 09:13 AM   Updated: 07/Aug/06 09:16 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works JDO-394-2.patch 2006-08-06 11:44 AM Michael Bouschen 52 kB
Text File Licensed for inclusion in ASF works JDO-394.patch 2006-07-30 08:06 PM Michael Bouschen 19 kB

Resolution Date: 07/Aug/06 09:16 PM


 Description  « Hide
org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManager.test() and
org.apache.jdo.tck.api.persistencemanagerfactory.GetPersistenceManagerForUser.test()
don't close PMF correctly and this can cause other Testcases to fail

Following should be added to the finally block of each test() Method

if (pmf != null) pmf.close();

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell made changes - 29/Jul/06 08:02 PM
Field Original Value New Value
Fix Version/s JDO 2 maintenance release 1 [ 12310923 ]
Michael Bouschen made changes - 30/Jul/06 07:59 PM
Assignee Michael Bouschen [ mbo ]
Michael Bouschen made changes - 30/Jul/06 08:06 PM
Attachment JDO-394.patch [ 12337788 ]
Michael Bouschen made changes - 06/Aug/06 11:44 AM
Attachment JDO-394-2.patch [ 12338224 ]
Michael Bouschen made changes - 07/Aug/06 09:16 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]