Commit bb3017a
Use JDTUtils.toUri() for decompiled class file URIs
Replace manual jdt:// URI construction in getFileURI(IClassFile) with
JDTUtils.toUri(classFile) to align with eclipse.jdt.ls PR #3666.
This ensures the debugger generates the same URI format as the language
server, fixing the issue where classes with source code are opened twice
(once as .java, once as .class) during debugging.
Fixes #623
Related: eclipse-jdtls/eclipse.jdt.ls#3729
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 26b05eb commit bb3017a
File tree
1 file changed
+1
-9
lines changed- com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal
1 file changed
+1
-9
lines changedLines changed: 1 addition & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
| 469 | + | |
478 | 470 | | |
479 | 471 | | |
480 | 472 | | |
| |||
0 commit comments