Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2009-02-19 07:39:37 +0000
committermkuppe2009-02-19 07:39:37 +0000
commitd68213568d2b88225fdd6ca9ba3afc1584493984 (patch)
tree8ea288837422f275c757c508f68479115f489759
parentf49269d99dc06bb1f963988ac45d3d2afba27347 (diff)
downloadorg.eclipse.ecf-d68213568d2b88225fdd6ca9ba3afc1584493984.tar.gz
org.eclipse.ecf-d68213568d2b88225fdd6ca9ba3afc1584493984.tar.xz
org.eclipse.ecf-d68213568d2b88225fdd6ca9ba3afc1584493984.zip
RESOLVED - bug 265415: [Discovery][JMDNS] Dead-lock in javax.jmdns.impl.JmDNSImpl.unregisterService(ServiceInfo)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265415
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java b/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java
index 820fc5a76..4fc4c4d21 100644
--- a/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java
+++ b/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java
@@ -650,13 +650,13 @@ public class JmDNSImpl extends JmDNS
// accesses to synchronized methods on that object. This is not
// what we want!
final Object lock = new Object();
- new Canceler(this, info, lock).start(timer);
// Remind: We get a deadlock here, if the Canceler does not run!
try
{
synchronized (lock)
{
+ new Canceler(this, info, lock).start(timer);
lock.wait();
}
}

Back to the top