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

Add OPENJCEPLUS_SUPPORT flag in JPP tags #18544

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

taoliult
Copy link
Contributor

When building the OpenJCEPlus with Semeru OpenJDK, some java.base packages need to be "exports" to the OpenJCEPlus module. But not all the platforms are supported by OpenJCEPlus. For those not supported platforms, export to OpenJCEPlus module will cause the unknown module error. So, by adding the OPENJCEPLUS_SUPPORT flag in JPP Tags, it will only allow the OpenJCEPlus required java.base packages to be exported on the supported platforms, to avoid the unknown module error.

@taoliult
Copy link
Contributor Author

@pshipton Please help to review and advice.

@pshipton
Copy link
Member

Have you signed the Eclipse ECA? The check is failing.
See https://github.com/eclipse-openj9/openj9/blob/master/CONTRIBUTING.md#legal-considerations

@pshipton pshipton marked this pull request as draft November 30, 2023 22:39
@pshipton
Copy link
Member

pshipton commented Nov 30, 2023

We should explore adding openj9-openjdk-jdk17/closed/src/java.base/share/classes/module-info.java.extra to export openjceplus.
Although I'm not sure if we can both have this and the module-info.java.extra in OpenJ9. The openjcepls exports should remain on the extensions side, since they aren't part of OpenJ9.

When building the OpenJCEPlus with Semeru OpenJDK, some java.base
packages need to be "exports" to the OpenJCEPlus module. But not
all the platforms are supported by OpenJCEPlus. For those not
supported platforms, export to OpenJCEPlus module will cause the
unknown module error. So, by adding the OPENJCEPLUS_SUPPORT flag
in JPP Tags, it will only allow the OpenJCEPlus required java.base
packages to be exported on the supported platforms, to avoid the
unknown module error.

Signed-off-by: Tao Liu <[email protected]>
@pshipton
Copy link
Member

pshipton commented Dec 3, 2023

You still need to sign the ECA before this can be accepted, or I could make this simple change instead.

@taoliult
Copy link
Contributor Author

taoliult commented Dec 3, 2023

@pshipton Just signed the ECA, please help to review.

@taoliult taoliult marked this pull request as ready for review December 3, 2023 21:44
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