Skip to content

Update the graal build to Graal CE 17 - #17219

Closed
chrisvest wants to merge 1 commit into
netty:4.1from
chrisvest:4.1-bump-graal
Closed

chrisvest wants to merge 1 commit into
netty:4.1from
chrisvest:4.1-bump-graal

Conversation

@chrisvest

@chrisvest chrisvest commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

Motivation:
We've been using an ancient graal version 20.3.6.r11-grl.

The TLS implementation in this graal version predates RFC 9325 section 4.5 (https://www.rfc-editor.org/rfc/rfc9325.html#section-4.5) which now mandates that DH key exchange algorithms use at least 2048-bit parameters. The old graal version is still using 1024-bit parameters, which will now start to fail the TLS handshakes as we upgrade our OpenSSL versions and other alternative TLS integrations.

Modification:
Upgrade the graal build to use 17.0.9-graalce, which is much more modern and also an LTS release.

Result:
Graal builds no longer fail in TLS tests that use the DH key exchange algorithm.

@chrisvest chrisvest added this to the 4.1.137.Final milestone Aug 5, 2026
@chrisvest chrisvest added the needs-cherry-pick-4.2 This PR should be cherry-picked to 4.2 once merged. label Aug 5, 2026
@chrisvest

Copy link
Copy Markdown
Member Author

No port to 5.0 necessary because that one is already on GraalCE 25.

@chrisvest chrisvest changed the title Update the graal build to Graal CE 21 Update the graal build to Graal CE 17 Aug 5, 2026
@chrisvest

Copy link
Copy Markdown
Member Author

Not using GraalCE 21 because it requires a too new version of glibc.

Motivation:
We've been using an ancient graal version 20.3.6.r11-grl.

The TLS implementation in this graal version predates RFC 9325 section 4.5 (https://www.rfc-editor.org/rfc/rfc9325.html#section-4.5) which now mandates that DH key exchange algorithms use at least 2048-bit parameters.
The old graal version is still using 1024-bit parameters, which will now start to fail the TLS handshakes as we upgrade our OpenSSL versions and other alternative TLS integrations.

Modification:
Upgrade the graal build to use 21.0.0.2.r11-grl, which is much more modern and also an LTS release.

Result:
Graal builds no longer fail in TLS tests that use the DH key exchange algorithm.
@chrisvest

Copy link
Copy Markdown
Member Author

There's no version of graal that both support our ancient glibc and upgrades the DH key size. The real solution to the #17122 build issues with graal, is to tell it through a system property to use a larger key size.

@chrisvest chrisvest closed this Aug 5, 2026
@chrisvest
chrisvest deleted the 4.1-bump-graal branch August 5, 2026 23:51
@normanmaurer normanmaurer removed the needs-cherry-pick-4.2 This PR should be cherry-picked to 4.2 once merged. label Oct 21, 2026
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