Skip to content

Conversation

@jack-berg
Copy link
Member

No description provided.

@jack-berg jack-berg changed the title Demonstrate uri resolve behavior change from java 11 to 17 [DO NOT MERGE] Demonstrate uri resolve behavior change from java 11 to 17 Jan 9, 2026
@codecov
Copy link

codecov bot commented Jan 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.14%. Comparing base (b882815) to head (e2cfc08).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7969   +/-   ##
=========================================
  Coverage     90.14%   90.14%           
  Complexity     7476     7476           
=========================================
  Files           836      836           
  Lines         22554    22554           
  Branches       2224     2224           
=========================================
  Hits          20331    20331           
  Misses         1519     1519           
  Partials        704      704           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@trask
Copy link
Member

trask commented Jan 9, 2026

😱

@Test
void resolve() {
assertThat(URI.create("http://localhost:8080").resolve("path").toString())
.isEqualTo("http://localhost:8080/path");
Copy link
Member Author

Choose a reason for hiding this comment

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

URI.resolve behavior change!

Passes on java 17+. Fails on java 11 and lower.

Copy link
Contributor

Choose a reason for hiding this comment

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

whu? That's a surprising change (that I imagine will break lots of applications out there!)

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.

3 participants