Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Cortell2010-05-25 19:16:51 -0400
committerJohn Cortell2010-05-25 19:16:51 -0400
commitcc353d738beb02d9bae8cb5fa6e8ed0f41053cc5 (patch)
tree6e0724eaecf1f109930dfc97b49412088c890946 /launch/org.eclipse.cdt.launch
parentaf21820551c63466fac9f8e8661a89b5fc95937c (diff)
downloadorg.eclipse.cdt-cc353d738beb02d9bae8cb5fa6e8ed0f41053cc5.tar.gz
org.eclipse.cdt-cc353d738beb02d9bae8cb5fa6e8ed0f41053cc5.tar.xz
org.eclipse.cdt-cc353d738beb02d9bae8cb5fa6e8ed0f41053cc5.zip
Bug 309126: Build before launch does too much building with project references (fix shallow comparison of project references)
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java
index 35b2441b49..c1f9298cd2 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate2.java
@@ -469,7 +469,7 @@ public abstract class AbstractCLaunchDelegate2 extends LaunchConfigurationDelega
for (IProject proj : projects) {
// The array will contain the top level project.
// Ignore it since we handled it above
- if (proj == project) {
+ if (proj.equals(project)) {
continue;
}

Back to the top