mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 14:12:10 +02:00
Fixed bug in last checkin.
This commit is contained in:
parent
b67b5182ff
commit
9fba81c108
1 changed files with 12 additions and 10 deletions
|
@ -229,11 +229,13 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IL
|
||||||
private boolean isBug145635Patched() {
|
private boolean isBug145635Patched() {
|
||||||
Type[] managerTypes = DebugUITools.getDebugContextManager().getClass().getGenericInterfaces();
|
Type[] managerTypes = DebugUITools.getDebugContextManager().getClass().getGenericInterfaces();
|
||||||
for (int i = 0; i < managerTypes.length; i++) {
|
for (int i = 0; i < managerTypes.length; i++) {
|
||||||
|
if (managerTypes[i] instanceof Class) {
|
||||||
if ("org.eclipse.debug.ui.contexts.IBug145635Marker".equals(managerTypes[i].getClass().getName()) ) {
|
Class clazz = (Class)managerTypes[i];
|
||||||
|
if ("org.eclipse.debug.ui.contexts.IBug145635Marker".equals(clazz.getName()) ) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue