karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject karaf git commit: [KARAF-4075]ConcurrentModificationException when installing wrapped bundles
Date Fri, 23 Oct 2015 02:45:12 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x faa0ace40 -> 2a28db21f


[KARAF-4075]ConcurrentModificationException when installing wrapped bundles


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/2a28db21
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/2a28db21
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/2a28db21

Branch: refs/heads/karaf-3.0.x
Commit: 2a28db21f5314598a8ab16ccbc9d8fd612c42b34
Parents: faa0ace
Author: Freeman Fang <freeman.fang@gmail.com>
Authored: Fri Oct 23 10:44:56 2015 +0800
Committer: Freeman Fang <freeman.fang@gmail.com>
Committed: Fri Oct 23 10:44:56 2015 +0800

----------------------------------------------------------------------
 .../java/org/apache/karaf/tooling/features/InstallKarsMojo.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/2a28db21/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
----------------------------------------------------------------------
diff --git a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
index 0b30f28..40aec60 100644
--- a/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
+++ b/tooling/karaf-maven-plugin/src/main/java/org/apache/karaf/tooling/features/InstallKarsMojo.java
@@ -305,7 +305,7 @@ public class InstallKarsMojo extends MojoSupport {
 
         // install bundles defined in startup.properties
         getLog().info("Installing bundles defined in startup.properties in the system");
-        Set<?> startupBundles = startupProperties.keySet();
+        Set<?> startupBundles = new HashSet<Object>(startupProperties.keySet());
                 
         for (Object startupBundle : startupBundles) {
             if (((String)startupBundle).startsWith("wrap:")) {


Mime
View raw message