1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[240997] - Added comment explaining the need for workaround.

This commit is contained in:
Pawel Piech 2008-07-15 22:12:06 +00:00
parent 4c5d157262
commit 9ac7056923

View file

@ -641,6 +641,8 @@ public class MIStack extends AbstractDsfService
@DsfServiceEventHandler
public void eventDispatched(IMIDMEvent e) {
// Note: the e.getMIEvent() is cast to an object as a workaround
// for a compiler error generated by javac (bug 240997).
Object miEvent = e.getMIEvent();
if (miEvent instanceof MIStoppedEvent) {
fCachedStoppedEvent = (MIStoppedEvent)miEvent;