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

Bump CI build from JDK 19 to 21 (LTS) #8159

Merged
merged 2 commits into from
Dec 24, 2023
Merged

Conversation

yschimke
Copy link
Collaborator

No description provided.

@yschimke yschimke changed the title Bump JDK 19 to 21 (LTS) Bump CI build from JDK 19 to 21 (LTS) Dec 24, 2023
@yschimke
Copy link
Collaborator Author

Secretly hoping it fixes https://github.com/square/okhttp/actions/runs/7313047455/job/19924201870

and we get off to the new year with clean builds.

@yschimke yschimke added graal GraalVM related loom Relates to Loom JDK support jdkversions JDK 8, 17, 19 etc. labels Dec 24, 2023
@@ -560,7 +561,8 @@ open class HttpUrlTest {
']'.code
)
.override(
Encoding.IDENTITY,
// java.net.URL got stricter
if (PlatformVersion.majorVersion >= 21) Encoding.SKIP else Encoding.IDENTITY,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@swankjesse I'm not sure this is right, is there a better way to make assertions here? That it now fails for URL?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Lemme attempt a follow-up. I think we need to fix our code.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@yschimke
Copy link
Collaborator Author

@swankjesse requesting post review. Particularly over how to handle JDK 21 URI strictness.

@yschimke
Copy link
Collaborator Author

Landing to get builds green.

@yschimke yschimke merged commit 464010a into square:master Dec 24, 2023
17 of 19 checks passed
Copy link
Collaborator

@swankjesse swankjesse left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
graal GraalVM related jdkversions JDK 8, 17, 19 etc. loom Relates to Loom JDK support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants