commit | 66b3ccac5094a8210e2e28497641b6e879d0cb58 | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Tue Jul 25 10:10:24 2006 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Tue Jul 25 10:10:24 2006 +0000 |
tree | 480e8143bf42fc640eeda88f63ffb338df1d4dc3 | |
parent | e5851f562e8fb3c39cc8780c100c5e7e84cd1e50 [diff] |
Fixed a deadlock that occurred on shutdown of the framework, when an equals() invocation caused an ensureRegistration() call to wait indefinitely. git-svn-id: https://svn.apache.org/repos/asf/incubator/felix/trunk@425357 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/org.apache.felix.dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceRegistrationImpl.java b/org.apache.felix.dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceRegistrationImpl.java index dc15d5f..38eadcc 100644 --- a/org.apache.felix.dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceRegistrationImpl.java +++ b/org.apache.felix.dependencymanager/src/main/java/org/apache/felix/dependencymanager/ServiceRegistrationImpl.java
@@ -75,7 +75,7 @@ // service registration ready; if not we wait again } } - if (ILLEGAL_STATE.equals(m_registration)) { + if (ILLEGAL_STATE == m_registration) { throw new IllegalStateException("Service is not registered."); } }