Skip to content

Commit 2473906

Browse files
committed
fix the bug of remove output path from class path.
1 parent 593163f commit 2473906

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal/ResolveClasspathsHandler.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ private static String[] computeDefaultRuntimeClassPath(IJavaProject jproject) th
183183
if (entry.getClasspathProperty() == IRuntimeClasspathEntry.USER_CLASSES) {
184184
IRuntimeClasspathEntry[] entries = JavaRuntime.resolveRuntimeClasspathEntry(entry, jproject);
185185
for (int j = 0; j < entries.length; j++) {
186-
if (entries[j].getClasspathEntry().getPath().equals(jproject.getOutputLocation())) {
187-
continue;
188-
}
186+
189187
if (isTest(entries[j].getClasspathEntry())) {
190188
continue;
191189
}

0 commit comments

Comments
 (0)