commit | d9b5818ed187d58a3659ab4ae47c97d13e57bffd | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Fri Apr 09 06:03:31 2010 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Fri Apr 09 06:03:31 2010 +0000 |
tree | a93aa0c58ea2a038e904c8c47040d01c61971f1a | |
parent | 6bd3c5b8b328f5f7abdc646467b2ead7f483cb68 [diff] |
FELIX-2248: fileinstall does not restart bundles when the underlying file is modified git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@932264 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 672b719..5c37465 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
@@ -1059,7 +1059,7 @@ { if (bundle.getState() != Bundle.STARTING && bundle.getState() != Bundle.ACTIVE && FileInstall.getStartLevel().isBundlePersistentlyStarted(bundle) - && FileInstall.getStartLevel().getStartLevel() > FileInstall.getStartLevel().getBundleStartLevel(bundle)) + && FileInstall.getStartLevel().getStartLevel() >= FileInstall.getStartLevel().getBundleStartLevel(bundle)) { bundles.add(bundle); }