You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2021/05/07 23:12:01 UTC
[db-jdo] 19/43: JDO-376: need to call closePM on correct pm instance
This is an automated email from the ASF dual-hosted git repository.
clr pushed a commit to branch origin/2.0.1
in repository https://gitbox.apache.org/repos/asf/db-jdo.git
commit a54fbbf9b80855e5d1801fe0b589881369ff9627
Author: Michael Bouschen <mb...@apache.org>
AuthorDate: Sun Apr 30 13:46:53 2006 +0000
JDO-376: need to call closePM on correct pm instance
---
...letePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java b/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
index 3633fbf..6e3f28d 100644
--- a/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
+++ b/tck20/src/java/org/apache/jdo/tck/api/persistencemanager/DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager.java
@@ -74,7 +74,7 @@ public class DeletePersistentFailsIfInstanceManagedByAnotherPersistenceManager e
}
finally {
cleanupPM(pm2);
- pm = null;
+ pm2 = null;
cleanupPM(pm);
pm = null;
}