mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-17 22:15:23 +02:00
[240997] - Added comment explaining the need for workaround.
This commit is contained in:
parent
4c5d157262
commit
9ac7056923
1 changed files with 2 additions and 0 deletions
|
@ -641,6 +641,8 @@ public class MIStack extends AbstractDsfService
|
||||||
|
|
||||||
@DsfServiceEventHandler
|
@DsfServiceEventHandler
|
||||||
public void eventDispatched(IMIDMEvent e) {
|
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();
|
Object miEvent = e.getMIEvent();
|
||||||
if (miEvent instanceof MIStoppedEvent) {
|
if (miEvent instanceof MIStoppedEvent) {
|
||||||
fCachedStoppedEvent = (MIStoppedEvent)miEvent;
|
fCachedStoppedEvent = (MIStoppedEvent)miEvent;
|
||||||
|
|
Loading…
Add table
Reference in a new issue