From 3e7ee044a8e79db848bd2e23d9654fff9cdee5fa Mon Sep 17 00:00:00 2001 From: Radek Felcman Date: Tue, 3 Oct 2023 10:19:58 +0200 Subject: [PATCH] Eclipselink.jar - JPMS fixes This change contains two fixes: - opens some packages in module-info.java as there are some resource files needed to read - eclipselink source bundle to include there correct module-info.java file Signed-off-by: Radek Felcman --- antbuild.properties | 1 + antbuild.xml | 4 ++++ features/bundles/eclipselink/src/module-info.java | 5 +++++ 3 files changed, 10 insertions(+) diff --git a/antbuild.properties b/antbuild.properties index 1131c9cdc77..ddb463bc862 100644 --- a/antbuild.properties +++ b/antbuild.properties @@ -286,6 +286,7 @@ about-file=about.html readme-file=readme.html license-files=license.* module-info-file=module-info.class +module-info-file.src=module-info.java setenv-scripts=setenv.* package-rename-scripts=packageRename.* jaxb-compiler-scripts=jaxb-compiler.* diff --git a/antbuild.xml b/antbuild.xml index bab5d4cba74..a7ef8cbf373 100644 --- a/antbuild.xml +++ b/antbuild.xml @@ -1304,6 +1304,10 @@ + + + + diff --git a/features/bundles/eclipselink/src/module-info.java b/features/bundles/eclipselink/src/module-info.java index 512fef4affc..6589859fc37 100644 --- a/features/bundles/eclipselink/src/module-info.java +++ b/features/bundles/eclipselink/src/module-info.java @@ -223,6 +223,7 @@ exports org.eclipse.persistence.internal.jpa.rs.metadata.model.v2; exports org.eclipse.persistence.internal.libraries.asm; exports org.eclipse.persistence.internal.localization; + exports org.eclipse.persistence.internal.localization.i18n; exports org.eclipse.persistence.internal.oxm; exports org.eclipse.persistence.internal.oxm.mappings; exports org.eclipse.persistence.internal.oxm.record; @@ -290,6 +291,10 @@ exports org.eclipse.persistence.internal.sessions.factories.model.transport.naming; exports org.eclipse.persistence.internal.xr.sxf; + opens org.eclipse.persistence.internal.helper; + opens org.eclipse.persistence.jaxb.xmlmodel; + opens org.eclipse.persistence.jpa.jpql; + uses org.eclipse.persistence.jpa.rs.PersistenceContextFactoryProvider; provides javax.persistence.spi.PersistenceProvider with org.eclipse.persistence.jpa.PersistenceProvider;