Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2015-07-17 05:03:31 -0400
committerEike Stepper2015-07-17 05:03:31 -0400
commit504b4e687c057d5b29bc7ff461dea2e840602185 (patch)
treedcba411e7495f982f5e1db45164d2c2aab615040 /plugins/org.eclipse.net4j.tests/src/org
parent0d7c85286fc360c149c5f3f2e93c6193a4892a3f (diff)
downloadcdo-504b4e687c057d5b29bc7ff461dea2e840602185.tar.gz
cdo-504b4e687c057d5b29bc7ff461dea2e840602185.tar.xz
cdo-504b4e687c057d5b29bc7ff461dea2e840602185.zip
[472924] Problems with explicit locking and high-frequency session open/close
https://bugs.eclipse.org/bugs/show_bug.cgi?id=472924
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/src/org')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
index 69caaf57dd..78f60077cf 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
@@ -430,7 +430,7 @@ public abstract class AbstractOMTest extends TestCase
deleteFiles();
}
- public void deleteFiles()
+ public synchronized void deleteFiles()
{
for (File file : filesToDelete)
{
@@ -440,7 +440,7 @@ public abstract class AbstractOMTest extends TestCase
filesToDelete.clear();
}
- public void addFileToDelete(File file)
+ public synchronized void addFileToDelete(File file)
{
filesToDelete.add(file);
}

Back to the top