You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2018/08/23 16:40:06 UTC

[1/2] [lang] LANG-1415: Update Java Language requirement to 1.8

Repository: commons-lang
Updated Branches:
  refs/heads/master ce178d8e8 -> 88b951a22


LANG-1415: Update Java Language requirement to 1.8


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/b4609c81
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/b4609c81
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/b4609c81

Branch: refs/heads/master
Commit: b4609c81e41d678cf03898a7cc4a4660beef0f88
Parents: d1e72eb
Author: Benedikt Ritter <br...@apache.org>
Authored: Thu Aug 23 08:25:27 2018 +0200
Committer: Benedikt Ritter <br...@apache.org>
Committed: Thu Aug 23 08:25:27 2018 +0200

----------------------------------------------------------------------
 .travis.yml                                            |  2 --
 pom.xml                                                |  6 +++---
 src/changes/changes.xml                                |  1 +
 .../java/org/apache/commons/lang3/SystemUtilsTest.java | 13 -------------
 4 files changed, 4 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/b4609c81/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index b8ef1b4..9914040 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,8 +22,6 @@ before_install:
 
 matrix:
   include:
-    - env: JDK_RELEASE='OpenJDK 7'
-      jdk: openjdk7
     - env: JDK_RELEASE='OracleJDK 8'
       jdk: oraclejdk8
     - env: JDK_RELEASE='OracleJDK 9'

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/b4609c81/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 57e4344..149e151 100644
--- a/pom.xml
+++ b/pom.xml
@@ -557,8 +557,8 @@
     <argLine>-Xmx512m</argLine>
     <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-    <maven.compiler.source>1.7</maven.compiler.source>
-    <maven.compiler.target>1.7</maven.compiler.target>
+    <maven.compiler.source>1.8</maven.compiler.source>
+    <maven.compiler.target>1.8</maven.compiler.target>
     <!--
        This is also  used to generate download_xxx file name.
        To override this when generating the download page:
@@ -574,7 +574,7 @@
     <commons.module.name>org.apache.commons.lang3</commons.module.name>
     <!-- Current 3.x release series -->
     <commons.release.version>3.9</commons.release.version>
-    <commons.release.desc>(Java 7+)</commons.release.desc>
+    <commons.release.desc>(Java 8+)</commons.release.desc>
     <!-- Previous 2.x release series -->
     <commons.release.2.version>2.6</commons.release.2.version>
     <commons.release.2.desc>(Requires Java 1.2 or later)</commons.release.2.desc>

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/b4609c81/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5e87a0b..905c41f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
 
   <release version="3.9" date="????-??-??" description="??">
+    <action issue="LANG-1415" type="update" dev="britter">Update Java Language requirement to 1.8</action>
     <action issue="LANG-1411" type="add" dev="britter" due-to="Alexander Tsvetkov">Add isEmpty method to ObjectUtils</action>
   </release>
 

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/b4609c81/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
index e89e20c..572a46e 100644
--- a/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
@@ -141,19 +141,6 @@ public class SystemUtilsTest {
             assertFalse(SystemUtils.IS_JAVA_9);
             assertFalse(SystemUtils.IS_JAVA_10);
             assertFalse(SystemUtils.IS_JAVA_11);
-        } else if (javaVersion.startsWith("1.7")) {
-            assertFalse(SystemUtils.IS_JAVA_1_1);
-            assertFalse(SystemUtils.IS_JAVA_1_2);
-            assertFalse(SystemUtils.IS_JAVA_1_3);
-            assertFalse(SystemUtils.IS_JAVA_1_4);
-            assertFalse(SystemUtils.IS_JAVA_1_5);
-            assertFalse(SystemUtils.IS_JAVA_1_6);
-            assertTrue(SystemUtils.IS_JAVA_1_7);
-            assertFalse(SystemUtils.IS_JAVA_1_8);
-            assertFalse(SystemUtils.IS_JAVA_1_9);
-            assertFalse(SystemUtils.IS_JAVA_9);
-            assertFalse(SystemUtils.IS_JAVA_10);
-            assertFalse(SystemUtils.IS_JAVA_11);
         } else if (javaVersion.startsWith("1.8")) {
             assertFalse(SystemUtils.IS_JAVA_1_1);
             assertFalse(SystemUtils.IS_JAVA_1_2);


[2/2] [lang] Merge branch 'LANG-1415'

Posted by br...@apache.org.
Merge branch 'LANG-1415'


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/88b951a2
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/88b951a2
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/88b951a2

Branch: refs/heads/master
Commit: 88b951a227ca8d49df670bbacbd00a2e6c239f3e
Parents: ce178d8 b4609c8
Author: Benedikt Ritter <br...@apache.org>
Authored: Thu Aug 23 18:39:39 2018 +0200
Committer: Benedikt Ritter <br...@apache.org>
Committed: Thu Aug 23 18:39:39 2018 +0200

----------------------------------------------------------------------
 .travis.yml                                            |  2 --
 pom.xml                                                |  6 +++---
 src/changes/changes.xml                                |  1 +
 .../java/org/apache/commons/lang3/SystemUtilsTest.java | 13 -------------
 4 files changed, 4 insertions(+), 18 deletions(-)
----------------------------------------------------------------------