You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/06/09 16:21:02 UTC

[commons-numbers] branch master updated: Use source 9 in-place of 1.9 for JDK 9.

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-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 8dc4c38  Use source 9 in-place of 1.9 for JDK 9.
8dc4c38 is described below

commit 8dc4c3842524602bd090524344a5a7941d75fb52
Author: aherbert <ah...@apache.org>
AuthorDate: Wed Jun 9 17:20:55 2021 +0100

    Use source 9 in-place of 1.9 for JDK 9.
---
 commons-numbers-core/pom.xml                  | 4 ++--
 commons-numbers-examples/examples-jmh/pom.xml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/commons-numbers-core/pom.xml b/commons-numbers-core/pom.xml
index a84e730..353b652 100644
--- a/commons-numbers-core/pom.xml
+++ b/commons-numbers-core/pom.xml
@@ -33,8 +33,8 @@
 
   <properties>
     <!-- JDK 9+ required for BigDecimal.sqrt() method in unit tests. -->
-    <maven.compiler.testSource>1.9</maven.compiler.testSource>
-    <maven.compiler.testTarget>1.9</maven.compiler.testTarget>
+    <maven.compiler.testSource>9</maven.compiler.testSource>
+    <maven.compiler.testTarget>9</maven.compiler.testTarget>
 
     <!-- The Java Module System Name -->
     <commons.module.name>org.apache.commons.numbers.core</commons.module.name>
diff --git a/commons-numbers-examples/examples-jmh/pom.xml b/commons-numbers-examples/examples-jmh/pom.xml
index 40b10a8..73771cc 100644
--- a/commons-numbers-examples/examples-jmh/pom.xml
+++ b/commons-numbers-examples/examples-jmh/pom.xml
@@ -81,8 +81,8 @@
 
   <properties>
     <!-- JDK 9+ required for BigDecimal.sqrt() method. -->
-    <maven.compiler.source>1.9</maven.compiler.source>
-    <maven.compiler.target>1.9</maven.compiler.target>
+    <maven.compiler.source>9</maven.compiler.source>
+    <maven.compiler.target>9</maven.compiler.target>
 
     <!-- OSGi -->
     <commons.osgi.symbolicName>org.apache.commons.numbers.examples.jmh</commons.osgi.symbolicName>