Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java b/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java
index 32b81d83..7596906b 100644
--- a/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java
+++ b/org.eclipse.m2e.launching/src/org/eclipse/m2e/internal/launch/MavenLaunchDelegate.java
@@ -31,8 +31,6 @@ import org.eclipse.debug.core.IDebugEventSetListener;
import org.eclipse.debug.core.ILaunch;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.model.IProcess;
-import org.eclipse.debug.core.model.ISourceLocator;
-import org.eclipse.debug.core.model.IStackFrame;
import org.eclipse.debug.core.sourcelookup.ISourceLookupParticipant;
import org.eclipse.debug.ui.RefreshTab;
import org.eclipse.jdt.launching.IVMRunner;
@@ -118,14 +116,6 @@ public class MavenLaunchDelegate extends JavaLaunchDelegate implements MavenLaun
}
}
sourceLocator.addParticipants(new ISourceLookupParticipant[] {new JavaSourceLookupParticipant()});
- // As a workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=368212
- // wrap sourceLocator in ISourceLocator. This will hide ISourceLookupDirector
- // implementation from JDT and disable any inappropriate/harmful hacks the have
- launch.setSourceLocator(new ISourceLocator() {
- public Object getSourceElement(IStackFrame stackFrame) {
- return sourceLocator.getSourceElement(stackFrame);
- }
- });
} else {
log.warn(NLS.bind(Messages.MavenLaynchDelegate_unsupported_source_locator, launch.getSourceLocator().getClass()
.getCanonicalName()));

Back to the top