This is an automated email from the ASF dual-hosted git repository. aherbert pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit 329f25f04da739d033aa7325a482d9cbf4f1616e Author: aherbert <[email protected]> AuthorDate: Mon Aug 2 12:42:27 2021 +0100 Update JPMS modules to require Java 11. Previously the modules would not build on JDK 11 due to the strictness of the javadoc tool with packages in the unnamed module. The latest JDK 11 version allows this (with warnings). --- commons-rng-examples/examples-jpms/pom.xml | 6 +++--- commons-rng-examples/examples-quadrature/pom.xml | 3 --- src/changes/changes.xml | 10 +++++++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/commons-rng-examples/examples-jpms/pom.xml b/commons-rng-examples/examples-jpms/pom.xml index 286ab9a..2e43cef 100644 --- a/commons-rng-examples/examples-jpms/pom.xml +++ b/commons-rng-examples/examples-jpms/pom.xml @@ -36,10 +36,10 @@ <rng.parent.dir>${basedir}/../..</rng.parent.dir> <!-- Java language level. --> - <maven.compiler.source>9</maven.compiler.source> - <maven.compiler.target>9</maven.compiler.target> + <maven.compiler.source>11</maven.compiler.source> + <maven.compiler.target>11</maven.compiler.target> <animal.sniffer.skip>true</animal.sniffer.skip> - <maven.compiler.release>9</maven.compiler.release> + <maven.compiler.release>11</maven.compiler.release> </properties> <build> diff --git a/commons-rng-examples/examples-quadrature/pom.xml b/commons-rng-examples/examples-quadrature/pom.xml index 56d1dfd..aea4ef8 100644 --- a/commons-rng-examples/examples-quadrature/pom.xml +++ b/commons-rng-examples/examples-quadrature/pom.xml @@ -32,9 +32,6 @@ Code in this module is not part of the public API.</description> <properties> - <maven.compiler.source>1.7</maven.compiler.source> - <maven.compiler.target>1.7</maven.compiler.target> - <!-- OSGi --> <commons.osgi.symbolicName>org.apache.commons.rng.examples.quadrature</commons.osgi.symbolicName> <commons.osgi.export>org.apache.commons.rng.examples.quadrature</commons.osgi.export> diff --git a/src/changes/changes.xml b/src/changes/changes.xml index c94a0a4..40abceb 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -63,10 +63,14 @@ Apache Commons RNG 1.4 contains the following library modules: commons-rng-sampling (requires Java 6) The code in module 'commons-rng-core' should not be accessed directly by applications as a future release might make use of -the JPMS modularization feature available in Java 9+. +the JPMS modularization feature available in Java 11+. -Additional code is provided in the following module: - commons-rng-examples (requires Java 9) +Additional code is provided in the following modules: + commons-rng-examples-quadrature (requires Java 7) + commons-rng-examples-jmh (requires Java 7) + commons-rng-examples-sampling (requires Java 8) + commons-rng-examples-stress (requires Java 8) + commons-rng-examples-jpms (requires Java 11) It is however not part of the official API and no compatibility should be expected in subsequent releases.
