mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[240997] - Additional fixes for generics related javac compile error.
This commit is contained in:
parent
c48cd231b5
commit
1253a42f62
1 changed files with 10 additions and 10 deletions
|
@ -91,23 +91,23 @@ public class MIRunControlNS extends AbstractDsfService implements IRunControl, I
|
||||||
* @see MIRunControl
|
* @see MIRunControl
|
||||||
*/
|
*/
|
||||||
@Immutable
|
@Immutable
|
||||||
private static class RunControlEvent<V extends IDMContext, T extends MIEvent<? extends IDMContext>> extends AbstractDMEvent<V>
|
private static class RunControlEvent<V extends IDMContext, T extends IDMContext> extends AbstractDMEvent<V>
|
||||||
implements IDMEvent<V>, IMIDMEvent
|
implements IDMEvent<V>, IMIDMEvent<T>
|
||||||
{
|
{
|
||||||
final private T fMIInfo;
|
final private MIEvent<T> fMIInfo;
|
||||||
public RunControlEvent(V dmc, T miInfo) {
|
public RunControlEvent(V dmc, MIEvent<T> miInfo) {
|
||||||
super(dmc);
|
super(dmc);
|
||||||
fMIInfo = miInfo;
|
fMIInfo = miInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
public T getMIEvent() { return fMIInfo; }
|
public MIEvent<T> getMIEvent() { return fMIInfo; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates that the given thread has been suspended.
|
* Indicates that the given thread has been suspended.
|
||||||
*/
|
*/
|
||||||
@Immutable
|
@Immutable
|
||||||
private static class SuspendedEvent extends RunControlEvent<IExecutionDMContext, MIStoppedEvent>
|
private static class SuspendedEvent extends RunControlEvent<IExecutionDMContext, IExecutionDMContext>
|
||||||
implements ISuspendedDMEvent
|
implements ISuspendedDMEvent
|
||||||
{
|
{
|
||||||
SuspendedEvent(IExecutionDMContext ctx, MIStoppedEvent miInfo) {
|
SuspendedEvent(IExecutionDMContext ctx, MIStoppedEvent miInfo) {
|
||||||
|
@ -150,7 +150,7 @@ public class MIRunControlNS extends AbstractDsfService implements IRunControl, I
|
||||||
// }
|
// }
|
||||||
|
|
||||||
@Immutable
|
@Immutable
|
||||||
private static class ResumedEvent extends RunControlEvent<IExecutionDMContext, MIRunningEvent>
|
private static class ResumedEvent extends RunControlEvent<IExecutionDMContext, IExecutionDMContext>
|
||||||
implements IResumedDMEvent
|
implements IResumedDMEvent
|
||||||
{
|
{
|
||||||
ResumedEvent(IExecutionDMContext ctx, MIRunningEvent miInfo) {
|
ResumedEvent(IExecutionDMContext ctx, MIRunningEvent miInfo) {
|
||||||
|
@ -158,7 +158,7 @@ public class MIRunControlNS extends AbstractDsfService implements IRunControl, I
|
||||||
}
|
}
|
||||||
|
|
||||||
public StateChangeReason getReason() {
|
public StateChangeReason getReason() {
|
||||||
switch(getMIEvent().getType()) {
|
switch(((MIRunningEvent)getMIEvent()).getType()) {
|
||||||
case MIRunningEvent.CONTINUE:
|
case MIRunningEvent.CONTINUE:
|
||||||
return StateChangeReason.USER_REQUEST;
|
return StateChangeReason.USER_REQUEST;
|
||||||
case MIRunningEvent.NEXT:
|
case MIRunningEvent.NEXT:
|
||||||
|
@ -195,7 +195,7 @@ public class MIRunControlNS extends AbstractDsfService implements IRunControl, I
|
||||||
// }
|
// }
|
||||||
|
|
||||||
@Immutable
|
@Immutable
|
||||||
private static class StartedDMEvent extends RunControlEvent<IExecutionDMContext,MIThreadCreatedEvent>
|
private static class StartedDMEvent extends RunControlEvent<IExecutionDMContext, IContainerDMContext>
|
||||||
implements IStartedDMEvent
|
implements IStartedDMEvent
|
||||||
{
|
{
|
||||||
StartedDMEvent(IMIExecutionDMContext executionDmc, MIThreadCreatedEvent miInfo) {
|
StartedDMEvent(IMIExecutionDMContext executionDmc, MIThreadCreatedEvent miInfo) {
|
||||||
|
@ -204,7 +204,7 @@ public class MIRunControlNS extends AbstractDsfService implements IRunControl, I
|
||||||
}
|
}
|
||||||
|
|
||||||
@Immutable
|
@Immutable
|
||||||
private static class ExitedDMEvent extends RunControlEvent<IExecutionDMContext,MIThreadExitEvent>
|
private static class ExitedDMEvent extends RunControlEvent<IExecutionDMContext, IContainerDMContext>
|
||||||
implements IExitedDMEvent
|
implements IExitedDMEvent
|
||||||
{
|
{
|
||||||
ExitedDMEvent(IMIExecutionDMContext executionDmc, MIThreadExitEvent miInfo) {
|
ExitedDMEvent(IMIExecutionDMContext executionDmc, MIThreadExitEvent miInfo) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue