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

Fix bugzilla 139323 - Inheritance problem with optionCategory

This commit is contained in:
Leo Treggiari 2006-05-03 00:24:44 +00:00
parent 2ba5d92ebb
commit 0b807e8a44
2 changed files with 8 additions and 0 deletions

View file

@ -2430,6 +2430,10 @@ public class Tool extends HoldsOptions implements ITool, IOptionCategory {
superClassId, superClassId,
"tool", //$NON-NLS-1$ "tool", //$NON-NLS-1$
getId()); getId());
} else {
// All of our superclasses must be resolved in order to properly
// resolve options to option categories
((Tool)getSuperClass()).resolveReferences();
} }
} }
// Resolve HoldsOptions // Resolve HoldsOptions

View file

@ -1319,6 +1319,10 @@ public class ToolChain extends HoldsOptions implements IToolChain {
superClassId, superClassId,
"toolChain", //$NON-NLS-1$ "toolChain", //$NON-NLS-1$
getId()); getId());
} else {
// All of our superclasses must be resolved in order to properly
// resolve options to option categories
((ToolChain)getSuperClass()).resolveReferences();
} }
} }
// Resolve HoldsOptions // Resolve HoldsOptions