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:
parent
2ba5d92ebb
commit
0b807e8a44
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue