Commit 07b1e4c
Use JDTUtils.toUri() for decompiled class file URIs (#624)
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 07b1e4c
1 file changed
Lines changed: 1 addition & 9 deletions
File tree
- com.microsoft.java.debug.plugin/src/main/java/com/microsoft/java/debug/plugin/internal
Lines 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