This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new b1c99ad  [VFS-700] Some tests fail on Java 11 and above.
b1c99ad is described below

commit b1c99ad390657365b6c6b0895fa38b84dd3eede4
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Apr 29 12:00:06 2019 -0400

    [VFS-700] Some tests fail on Java 11 and above.
---
 pom.xml                 | 20 ++++++++++++++++++++
 src/changes/changes.xml |  3 +++
 2 files changed, 23 insertions(+)

diff --git a/pom.xml b/pom.xml
index f6e4f0a..7cdcb66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -617,6 +617,26 @@
       </build>
     </profile>
 
+  <profile>
+    <id>java11+</id>
+    <activation>
+      <jdk>[11,)</jdk>
+    </activation>
+    <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <!-- -Xmx64m: increases memory for tests on Travis CI -->
+            <!--  jdk.tls.client.protocols: For use of older protocol since 
DSA is no longer in the JRE -->
+            <argLine>-Xmx64m -Djdk.tls.client.protocols=TLSv1.2</argLine>
+          </configuration>
+        </plugin>
+      </plugins>
+    </build>
+  </profile>
+
   </profiles>
 
 </project>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bf8d958..d2ba03f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -107,6 +107,9 @@ The <action> type attribute can be add,update,fix,remove.
       <action issue="VFS-662" dev="ggregory" type="fix" due-to="qxo, Alexey 
Abashev, Gary Gregory">
         [SFTP] SftpFileSystem has Thread-safe issue about idleChannel (#36).
       </action>
+      <action issue="VFS-700" dev="ggregory" type="fix" due-to="Gary Gregory, 
Matthias Krueger">
+        Some tests fail on Java 11 and above.
+      </action>
     </release>
     <release version="2.3" date="2019-02-01" description="New features and bug 
fix release.">
       <action issue="VFS-645" dev="ggregory" type="fix">

Reply via email to