Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.diagnostic.filter is broken on Windows #3292

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

snjeza
Copy link
Contributor

@snjeza snjeza commented Oct 1, 2024

Fixes #3290
Without the PR, the WorkspaceDiagnosticsHandlerTest.testDiagnosticFiltering() test fails on Windows.
The fix has been based on #3290 (comment)
@Kamii0909 Thanks!

@robstryker
Copy link
Contributor

robstryker commented Oct 1, 2024

Why would you switch from the specific MalformedURLException and the composite MalformedURLException | InvalidPathException to the relatively unsafe Exception ?

@snjeza snjeza changed the title java.diagnostic.filter is broken on Windows [WIP} java.diagnostic.filter is broken on Windows Oct 1, 2024
@snjeza snjeza changed the title [WIP} java.diagnostic.filter is broken on Windows [WIP] java.diagnostic.filter is broken on Windows Oct 1, 2024
@snjeza snjeza changed the title [WIP] java.diagnostic.filter is broken on Windows java.diagnostic.filter is broken on Windows Oct 1, 2024
@snjeza snjeza removed the in progress label Oct 1, 2024
Copy link
Contributor

@rgrunber rgrunber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Tested on Linux where I simply tried diagnostic filtering where a some source file had non-ascii characters and it seemed to work.
  • Tested on Windows where I just expected the project to import when diagnostic filtering is enabled. I noticed filtering seems to work for both / & \\ .

@rgrunber rgrunber merged commit 4ce5969 into eclipse-jdtls:master Oct 2, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.diagnostic.filter is broken on Windows
3 participants