1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26: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

@ -626,6 +626,10 @@ public abstract class HoldsOptions extends BuildObject implements IHoldsOptions,
if (option.needsRebuild()) if (option.needsRebuild())
return true; 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; return rebuildState;
} }