commit | 99d11378c565cf2af4b30c0a7509d6e050ba9e5a | [log] [tgz] |
---|---|---|
author | Sanjeeb Kumar Sahoo <sahoo@apache.org> | Thu Oct 14 20:07:31 2010 +0000 |
committer | Sanjeeb Kumar Sahoo <sahoo@apache.org> | Thu Oct 14 20:07:31 2010 +0000 |
tree | 141b3a3fe69009984e543c81f8b31d2d885a543b | |
parent | ad9c2a46538b171755b559aad4f7501f407d99f0 [diff] |
FELIX-2556: Don't try to stop fragment bundles git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1022686 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java index ffe7398..b455d82 100644 --- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java +++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
@@ -1088,7 +1088,10 @@ // when refreshing packages). if (startBundles) { - bundle.stop(Bundle.STOP_TRANSIENT); + if (!isFragment(bundle)) + { + bundle.stop(Bundle.STOP_TRANSIENT); + } } }