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.

@janbartel janbartel self-assigned this Jan 11, 2021
@janbartel janbartel requested a review from joakime January 11, 2021 16:10
Add a test for Resource.equals

Signed-off-by: Jan Bartel <[email protected]>
@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
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.

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.

2 participants