You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/10/08 13:28:09 UTC

svn commit: r1811489 - /commons/proper/email/trunk/.travis.yml

Author: pascalschumacher
Date: Sun Oct  8 13:28:09 2017
New Revision: 1811489

URL: http://svn.apache.org/viewvc?rev=1811489&view=rev
Log:
travis: fix buffer overflow in Java_java_net_Inet4AddressImpl_getLocalHostName of OpenJDK6 and OpenJDK7 when using precise distribution

To fix this use the current (trusty) distribution and manually install openjdk-6-jdk and a java 6 compatible maven version.


Modified:
    commons/proper/email/trunk/.travis.yml

Modified: commons/proper/email/trunk/.travis.yml
URL: http://svn.apache.org/viewvc/commons/proper/email/trunk/.travis.yml?rev=1811489&r1=1811488&r2=1811489&view=diff
==============================================================================
--- commons/proper/email/trunk/.travis.yml (original)
+++ commons/proper/email/trunk/.travis.yml Sun Oct  8 13:28:09 2017
@@ -16,7 +16,17 @@
 language: java
 sudo: false
 
-dist: precise
+
+addons:
+  apt:
+    packages:
+      - openjdk-6-jdk
+# use java 6 compatible maven version
+before_install:
+  - wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
+  - unzip -qq apache-maven-3.2.5-bin.zip
+  - export M2_HOME=$PWD/apache-maven-3.2.5
+  - export PATH=$M2_HOME/bin:$PATH
 
 jdk:
   - openjdk6