Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McDuff2008-10-09 16:35:43 -0400
committerSimon McDuff2008-10-09 16:35:43 -0400
commitcdb0aede28f0b93d2e0292a34d839b397b603ddb (patch)
tree49eee2d59e9d39947ff2270fa8d36fd3eb38ba93
parentaed1230b201ad2d8af05f31ae97279555887a95b (diff)
downloadcdo-cdb0aede28f0b93d2e0292a34d839b397b603ddb.tar.gz
cdo-cdb0aede28f0b93d2e0292a34d839b397b603ddb.tar.xz
cdo-cdb0aede28f0b93d2e0292a34d839b397b603ddb.zip
[250343] ReflectUtil.getID should be synchronized - infinite loop.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=250343
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ReflectUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ReflectUtil.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ReflectUtil.java
index da8dd226ad..b96c81049e 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ReflectUtil.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/ReflectUtil.java
@@ -233,7 +233,7 @@ public final class ReflectUtil
return 0;
}
- public static Long getID(Object object)
+ public static synchronized Long getID(Object object)
{
Long id = ids.get(object);
if (id == null)

Back to the top