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

[234450] - [registers] ClassCastException in RegisterVMProvider.

This commit is contained in:
Pawel Piech 2008-05-29 16:59:30 +00:00
parent 614db74131
commit 8f20c097dc

View file

@ -153,6 +153,7 @@ public class RegisterVMProvider extends AbstractDMVMProvider
* specific. If it were to become so then we would need to modify this policy.
*/
Object element = update.getElement();
if (element instanceof IDMVMContext) {
IDMContext ctx = ((IDMVMContext) element).getDMContext();
IExecutionDMContext execDmc = DMContexts.getAncestorOfType(ctx, IExecutionDMContext.class);
@ -166,6 +167,7 @@ public class RegisterVMProvider extends AbstractDMVMProvider
update.done();
return;
}
}
/*
* If we reach here, then we did not override the standard behavior. Invoke the