This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/felix-dev.git


The following commit(s) were added to refs/heads/master by this push:
     new b2180103d9 FELIX-6554 : Exception while starting Felix Configurator
b2180103d9 is described below

commit b2180103d9045156eae912e0ab0c1b1c811c5457
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Mon Aug 8 13:30:52 2022 +0200

    FELIX-6554 : Exception while starting Felix Configurator
---
 .../src/main/java/org/apache/felix/configurator/impl/Configurator.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/configurator/src/main/java/org/apache/felix/configurator/impl/Configurator.java
 
b/configurator/src/main/java/org/apache/felix/configurator/impl/Configurator.java
index b7bab7cd1e..929e3317c1 100644
--- 
a/configurator/src/main/java/org/apache/felix/configurator/impl/Configurator.java
+++ 
b/configurator/src/main/java/org/apache/felix/configurator/impl/Configurator.java
@@ -288,7 +288,7 @@ public class Configurator {
                 processAddBundle(b);
             }
         }
-        for(final long id : state.getKnownBundleIds()) {
+        for(final long id : new HashSet<>(state.getKnownBundleIds())) {
             if ( !ids.contains(id) ) {
                 processRemoveBundle(id);
             }

Reply via email to