Skip to content

Add OPENJCEPLUS_SUPPORT flag in JPP tags - #18544

Merged
keithc-ca merged 1 commit into
eclipse-openj9:masterfrom
taoliult:OpenJCEPlus
Dec 5, 2023
Merged

Add OPENJCEPLUS_SUPPORT flag in JPP tags#18544
keithc-ca merged 1 commit into
eclipse-openj9:masterfrom
taoliult:OpenJCEPlus

Conversation

@taoliult

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

@pshipton Please help to review and advice.

Comment thread jcl/src/java.base/share/classes/module-info.java.extra Outdated
@pshipton

Copy link
Copy Markdown
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

pshipton commented Nov 30, 2023

Copy link
Copy Markdown
Member

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 <tao.liu@ibm.com>
@pshipton

pshipton commented Dec 3, 2023

Copy link
Copy Markdown
Member

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

@taoliult

taoliult commented Dec 3, 2023

Copy link
Copy Markdown
Contributor Author

@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