commit | 207f8a590bda819b326d430d10632adf5df1df41 | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Sun Feb 14 17:23:15 2010 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Sun Feb 14 17:23:15 2010 +0000 |
tree | e852ebdce9ab4ab4d10dac60b239709898a16d0c | |
parent | dc2c2c1b95a5bf3b5534d7439981057bc73e47c3 [diff] |
fixed bug in ServiceProvider inner class git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@910048 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/annotation/src/main/java/org/apache/felix/dm/test/annotation/MultipleAnnotationTest.java b/dependencymanager/test/annotation/src/main/java/org/apache/felix/dm/test/annotation/MultipleAnnotationTest.java index bb0e5dc..190525c 100644 --- a/dependencymanager/test/annotation/src/main/java/org/apache/felix/dm/test/annotation/MultipleAnnotationTest.java +++ b/dependencymanager/test/annotation/src/main/java/org/apache/felix/dm/test/annotation/MultipleAnnotationTest.java
@@ -78,11 +78,13 @@ { @ServiceDependency(filter = "(test=multiple)") Sequencer m_sequencer; + + ServiceProvider2 m_serviceProvider2; @ServiceDependency(removed = "unbind") void bind(ServiceProvider2 provider2) { - m_sequencer.step(4); + m_serviceProvider2 = provider2; } void unbind(ServiceProvider2 provider2) @@ -93,6 +95,9 @@ @Start void start() { + if (m_serviceProvider2 != null) { + m_sequencer.step(4); + } m_sequencer.step(5); }