Return-Path: X-Original-To: apmail-karaf-commits-archive@minotaur.apache.org Delivered-To: apmail-karaf-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 07C0B1838A for ; Fri, 23 Oct 2015 02:45:13 +0000 (UTC) Received: (qmail 37742 invoked by uid 500); 23 Oct 2015 02:45:12 -0000 Delivered-To: apmail-karaf-commits-archive@karaf.apache.org Received: (qmail 37716 invoked by uid 500); 23 Oct 2015 02:45:12 -0000 Mailing-List: contact commits-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list commits@karaf.apache.org Received: (qmail 37707 invoked by uid 99); 23 Oct 2015 02:45:12 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Oct 2015 02:45:12 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7AFE5E3937; Fri, 23 Oct 2015 02:45:12 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ffang@apache.org To: commits@karaf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: karaf git commit: [KARAF-4075]ConcurrentModificationException when installing wrapped bundles Date: Fri, 23 Oct 2015 02:45:12 +0000 (UTC) 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 Authored: Fri Oct 23 10:44:56 2015 +0800 Committer: Freeman Fang 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(startupProperties.keySet()); for (Object startupBundle : startupBundles) { if (((String)startupBundle).startsWith("wrap:")) {