diff options
author | Stephan Herrmann | 2012-09-22 20:56:12 +0000 |
---|---|---|
committer | Stephan Herrmann | 2012-09-22 20:56:12 +0000 |
commit | 944f7384b95999424cafae705b12b156149c2e01 (patch) | |
tree | 9af373262a97e574288f8718f68804c68028dde9 /plugins | |
parent | 7b935330763aeaf767b983d7fde5bf4a764b0193 (diff) | |
download | org.eclipse.objectteams-944f7384b95999424cafae705b12b156149c2e01.tar.gz org.eclipse.objectteams-944f7384b95999424cafae705b12b156149c2e01.tar.xz org.eclipse.objectteams-944f7384b95999424cafae705b12b156149c2e01.zip |
Bug 390149 - CCE in AdaptorActivator when modifying the source
attachment of a required plugin
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/AdaptorActivator.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/AdaptorActivator.java b/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/AdaptorActivator.java index 5faee2c3a..719bba8ac 100644 --- a/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/AdaptorActivator.java +++ b/plugins/org.eclipse.objectteams.otdt.compiler.adaptor/src/org/eclipse/objectteams/otdt/internal/compiler/adaptor/AdaptorActivator.java @@ -114,8 +114,7 @@ public team class AdaptorActivator try { for (int i=0; i<javaProjects.length; i++) { Project project= (Project)javaProjects[i].getProject(); - if ( containers[i] != null - && REQUIRED_PLUGINS_CONTAINER_PATH.equals(containers[i].getPath()) + if ( containers[i] instanceof RequiredPluginsClasspathContainer // checking the name is not enough, could still be a UpdatedClasspathContainer && ProjectUtil.isOTPluginProject(project)) // avoid LiftingVetoException { AspectBindingReader aspectBindingReader = ResourceProjectAdaptor.getDefault().getAspectBindingReader(project); |