[lang] add changes.xml entry for LANG-1265

2017-02-28 Thread pascalschumacher
Repository: commons-lang
Updated Branches:
  refs/heads/master 72476ff46 -> 42cf67402


add changes.xml entry for LANG-1265


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

Branch: refs/heads/master
Commit: 42cf6740264f1cff5180b3d79199bcae692f1066
Parents: 72476ff
Author: pascalschumacher 
Authored: Tue Feb 28 23:41:58 2017 +0100
Committer: pascalschumacher 
Committed: Tue Feb 28 23:41:58 2017 +0100

--
 src/changes/changes.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/42cf6740/src/changes/changes.xml
--
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 13e83b4..4419d95 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -77,6 +77,7 @@ The  type attribute can be add,update,fix,remove.
 Moving apache-rat-plugin configuration into 
pluginManagement
 TypeUtils.toString() doesn't handle primitive and Object arrays 
correctly
 LocaleUtils#toLocale does not support language followed by UN 
M.49 numeric-3 area code
+Build failures when 
building with Java 9 EA
   
 
   



[lang] LANG-1265: Build failures when building with Java 9 EA (closes #244)

2017-02-28 Thread pascalschumacher
Repository: commons-lang
Updated Branches:
  refs/heads/master c79e6fb8f -> 72476ff46


LANG-1265: Build failures when building with Java 9 EA (closes #244)

Fix build on Java 9 Build 157 by adding a java-9 maven profile. This is 
activated by default on Java 9 and opens up java.base classes for reflection, 
which makes all unit tests pass.


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

Branch: refs/heads/master
Commit: 72476ff4620559b33a23aabba9eaec3b4330208e
Parents: c79e6fb
Author: pascalschumacher 
Authored: Fri Feb 24 18:51:03 2017 +0100
Committer: pascalschumacher 
Committed: Tue Feb 28 23:37:26 2017 +0100

--
 pom.xml | 11 +++
 1 file changed, 11 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/72476ff4/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 0d06563..d467ecd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -810,6 +810,17 @@
 
   
 
+
+
+  java9
+  
+9
+  
+  
+
+-Xmx512m --add-opens java.base/java.lang.reflect=ALL-UNNAMED 
--add-opens java.base/java.lang=ALL-UNNAMED
+  
+
   
 
 



[lang] JUnit imports (closes #247)

2017-02-28 Thread pascalschumacher
Repository: commons-lang
Updated Branches:
  refs/heads/master 98fa164cd -> c79e6fb8f


JUnit imports (closes #247)

The junit.framework package has been deprecated, and should no longer
be used.

This patch fixes the one remaining import from it to statically import
org.junit.Assert.assertNull instead.


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

Branch: refs/heads/master
Commit: c79e6fb8f95bb07d2394221b29b75fcc016f4900
Parents: 98fa164
Author: Allon Mureinik 
Authored: Tue Feb 28 23:17:51 2017 +0200
Committer: pascalschumacher 
Committed: Tue Feb 28 23:33:26 2017 +0100

--
 src/test/java/org/apache/commons/lang3/RandomUtilsTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/c79e6fb8/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java
--
diff --git a/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java 
b/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java
index ed032e7..ddbaab1 100644
--- a/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/RandomUtilsTest.java
@@ -16,10 +16,10 @@
  */
 package org.apache.commons.lang3;
 
-import static junit.framework.TestCase.assertNotNull;
 import static org.junit.Assert.assertArrayEquals;
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertTrue;
 
 import org.junit.Test;



svn commit: r1784819 - in /commons/proper/net/trunk/src: changes/changes.xml main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java

2017-02-28 Thread sebb
Author: sebb
Date: Tue Feb 28 21:21:02 2017
New Revision: 1784819

URL: http://svn.apache.org/viewvc?rev=1784819=rev
Log:
NET-618 System Information Leak in ftp parser

Modified:
commons/proper/net/trunk/src/changes/changes.xml

commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java

Modified: commons/proper/net/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/net/trunk/src/changes/changes.xml?rev=1784819=1784818=1784819=diff
==
--- commons/proper/net/trunk/src/changes/changes.xml [utf-8] (original)
+++ commons/proper/net/trunk/src/changes/changes.xml [utf-8] Tue Feb 28 
21:21:02 2017
@@ -63,6 +63,18 @@ The  type attribute can be add,u
  -->
 
 
+
+
+System Information Leak in ftp parser
+
+
 http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java?rev=1784819=1784818=1784819=diff
==
--- 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java
 (original)
+++ 
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/parser/MVSFTPEntryParser.java
 Tue Feb 28 21:21:02 2017
@@ -371,7 +371,6 @@ public class MVSFTPEntryParser extends C
 try {
 file.setTimestamp(super.parseTimestamp(datestr));
 } catch (ParseException e) {
-e.printStackTrace();
 // just ignore parsing errors.
 // TODO check this is ok
 return false; // this is a parsing failure too.