Title: fix: prefer sourcePaths before JDT source URIs by wenytang-ms · Pull Request #629 · microsoft/java-debug · GitHub
Open Graph Title: fix: prefer sourcePaths before JDT source URIs by wenytang-ms · Pull Request #629 · microsoft/java-debug
X Title: fix: prefer sourcePaths before JDT source URIs by wenytang-ms · Pull Request #629 · microsoft/java-debug
Description: Fixes #455. Summary Prefer debug sourcePaths before returning non-file JDT source URIs such as jdt://. Preserve the existing jdt:// fallback when no matching source file exists in sourcePaths. Convert sourcePaths matches to the client-requested path format and use a null-safe SourceType comparison. Add regression coverage for cached JDT URI results, URI clients, and null source types. Validation mvn -pl com.microsoft.java.debug.core -Dtest=StackTraceRequestHandlerTest test mvn -pl com.microsoft.java.debug.core test mvn -pl com.microsoft.java.debug.core checkstyle:check '-Dcheckstyle.includes=src/test/java/com/microsoft/java/debug/core/adapter/handler/StackTraceRequestHandlerTest.java' Note: full core checkstyle still fails on existing CRLF baseline issues outside this change.
Open Graph Description: Fixes #455. Summary Prefer debug sourcePaths before returning non-file JDT source URIs such as jdt://. Preserve the existing jdt:// fallback when no matching source file exists in sourcePaths. Con...
X Description: Fixes #455. Summary Prefer debug sourcePaths before returning non-file JDT source URIs such as jdt://. Preserve the existing jdt:// fallback when no matching source file exists in sourcePaths. Con...
Opengraph URL: https://github.com/microsoft/java-debug/pull/629
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1dcdb05e-c4c3-7a9f-b8cf-8fbd291eaa36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E866:1A808D:1648488:1DC9EB9:6A5AC70E |
| html-safe-nonce | fd0fb3dac4facb5886ff30fe03413858caff894ec9b8bee2b40de85851ef0409 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODY2OjFBODA4RDoxNjQ4NDg4OjFEQzlFQjk6NkE1QUM3MEUiLCJ2aXNpdG9yX2lkIjoiNjI5NjM2NzEwNzkwODc0OTA3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 710d22c738b608c8aac2ff321e947759f7d649f2426f3c7bd0fcb7e1dc249552 |
| hovercard-subject-tag | pull_request:3829132402 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/microsoft/java-debug/pull/629/files |
| twitter:image | https://avatars.githubusercontent.com/u/75360946?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/75360946?s=400&v=4 |
| og:image:alt | Fixes #455. Summary Prefer debug sourcePaths before returning non-file JDT source URIs such as jdt://. Preserve the existing jdt:// fallback when no matching source file exists in sourcePaths. Con... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | f422022de939199d6afcbaac024b42b6232a3498a95f198e17717afb8b46fb15 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/microsoft/java-debug git https://github.com/microsoft/java-debug.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 102583752 |
| octolytics-dimension-repository_nwo | microsoft/java-debug |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102583752 |
| octolytics-dimension-repository_network_root_nwo | microsoft/java-debug |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2fa01ceb3b3a801409f050561abfb062094702d0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width