summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-06-11 14:19:12 (EDT)
committerCurtis Windatt2013-06-11 14:19:12 (EDT)
commitb19a80d4b4a77367c805d541d8c264b8e90b30f5 (patch)
treec357f9f8df549092a4ddb162f32c7b29cc4e91df
parentc1ecd493e3b766ce1637eefad1a7bc883a04f556 (diff)
downloadeclipse.pde.ui-b19a80d4b4a77367c805d541d8c264b8e90b30f5.zip
eclipse.pde.ui-b19a80d4b4a77367c805d541d8c264b8e90b30f5.tar.gz
eclipse.pde.ui-b19a80d4b4a77367c805d541d8c264b8e90b30f5.tar.bz2
Bug 409401 - ConcurrentModificationException during "Load Target
-rw-r--r--ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java
index 5fb3479..a902020 100644
--- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java
+++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/RequiredPluginsClasspathContainer.java
@@ -37,7 +37,7 @@ public class RequiredPluginsClasspathContainer extends PDEClasspathContainer imp
* Cached list of {@link IClasspathContributor} from plug-in extensions
* @see #getClasspathContributors()
*/
- private List<IClasspathContributor> fClasspathContributors = null;
+ private static List<IClasspathContributor> fClasspathContributors = null;
static {
DEBUG = PDECore.getDefault().isDebugging() && "true".equals(Platform.getDebugOption("org.eclipse.pde.core/classpath")); //$NON-NLS-1$ //$NON-NLS-2$
@@ -180,7 +180,7 @@ public class RequiredPluginsClasspathContainer extends PDEClasspathContainer imp
* <code>org.eclipse.pde.core.pluginClasspathContributors</code> extension point.
* @return list of classpath contributors from the extension point
*/
- private List<IClasspathContributor> getClasspathContributors() {
+ synchronized private static List<IClasspathContributor> getClasspathContributors() {
if (fClasspathContributors == null) {
fClasspathContributors = new ArrayList<IClasspathContributor>();
IExtensionRegistry registry = Platform.getExtensionRegistry();