Skip to content

(0.46) Export jdk.management/jdk.crac.management only when CRaC is enabled #19787

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

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

LongyuZhang
Copy link
Contributor

Cherry-pick #19542 and #19553
Related Issue: #19786

JasonFengJ9 and others added 2 commits June 28, 2024 22:23
Use ModuleLayer.boot().findModule() to get module jdk.management,
export jdk.crac.management unconditionally when CRaC is enabled;
Updated tests with --add-exports
jdk.management/jdk.crac.management=ALL-UNNAMED.

Signed-off-by: Jason Feng <[email protected]>
The need for the jdk.management module should due to application
requirements, not just that support for CRaC is enabled.

Signed-off-by: Keith W. Campbell <[email protected]>
@JasonFengJ9
Copy link
Member

Thanks @LongyuZhang

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.

4 participants