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

支持Java21 #1744

Open
shichaoyuan opened this issue Jan 22, 2025 · 2 comments
Open

支持Java21 #1744

shichaoyuan opened this issue Jan 22, 2025 · 2 comments
Labels
kind/enhancement Issues or PRs releated to sermant enhancement

Comments

@shichaoyuan
Copy link

shichaoyuan commented Jan 22, 2025

What would you like to be enhanced?

试了一下release的2.2版本,还不支持Java21,有适配的计划么?

Why is this needed?

有使用java21的场景

@shichaoyuan shichaoyuan added the kind/enhancement Issues or PRs releated to sermant enhancement label Jan 22, 2025
@Issues-translate-bot
Copy link

Detect the issue's language is not English and translate it automatically.


Title: Support Java21

@provenceee
Copy link
Collaborator

When starting JDK21, you need to add the following environment variables:
--add-opens java.base/java.lang=ALL-UNNAMED
--add-opens java.base/java.net=ALL-UNNAMED
--add-opens java.base/java.math=ALL-UNNAMED
--add-opens java.base/sun.net.www=ALL-UNNAMED
--add-opens java.base/sun.net.www.protocol.http=ALL-UNNAMED
-Dnet.bytebuddy.experimental=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or PRs releated to sermant enhancement
Projects
None yet
Development

No branches or pull requests

3 participants