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

Issue #5870 Windows URI case comparison fails #5873

Merged
merged 3 commits into from Jan 12, 2021

Conversation

janbartel
Copy link
Contributor

Closes #5870.

On windows the URIs "file:/C:/foo/bar.jar" and "file:/c:/foo/bar.jar" are not regarded as equal. Change the AnnotationConfiguration to do comparison via Resource instead of URI.

Signed-off-by: Jan Bartel <janb@webtide.com>
@janbartel janbartel self-assigned this Jan 11, 2021
@janbartel janbartel added this to In progress in Jetty 9.4.36 via automation Jan 11, 2021
Add a test for Resource.equals

Signed-off-by: Jan Bartel <janb@webtide.com>
@janbartel
Copy link
Contributor Author

@joakime can you run the new ResourceTest.testEquals() test on windows to verify it works?

+ Eliminating OS.MAC (as it doesn't support drive letters)
+ Adding alt URI syntax version as well
Jetty 9.4.36 automation moved this from In progress to Reviewer approved Jan 11, 2021
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

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

Looks good.
I made a few updates to the tests in 34ffe9f

Tests fine on Windows now.

@janbartel janbartel merged commit e1e16ae into jetty-9.4.x Jan 12, 2021
Jetty 9.4.36 automation moved this from Reviewer approved to Done Jan 12, 2021
@janbartel janbartel deleted the jetty-9.4.x-5870-uri-case-comparison branch January 12, 2021 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants