1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 318331 changing an option value on a top-level resource may not correctly rebuild all changed children.

This commit is contained in:
James Blackburn 2010-06-29 15:53:26 +00:00
parent c44a70063a
commit 87ec745a57

View file

@ -625,7 +625,11 @@ public abstract class HoldsOptions extends BuildObject implements IHoldsOptions,
for (Option option : getOptionCollection())
if (option.needsRebuild())
return true;
// Bug 318331 If the parent needs a rebuild, then we do too as we may inherit options from our superClass...
if (superClass != null && superClass.needsRebuild())
return true;
return rebuildState;
}