You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/08/09 03:08:08 UTC
[commons-compress] 01/02: Try to force to use the latest Java 11
instead of 11.0.2 to fix https://bugs.openjdk.java.net/browse/JDK-8212233
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-compress.git
commit 1a8915fc020c5c6039c14b2a879e5052a7528b79
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Aug 8 23:07:45 2020 -0400
Try to force to use the latest Java 11 instead of 11.0.2
to fix
https://bugs.openjdk.java.net/browse/JDK-8212233
---
.travis.yml | 22 ++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 3d49410..d4bac78 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -25,11 +25,20 @@ cache:
# https://bugs.openjdk.java.net/browse/JDK-8212233
dist: bionic
+jdk:
+ - openjdk8
+ - openjdk11
+ - openjdk14
+ - openjdk-ea
+
# Remove the outdated OpenJDK 11.0.2 which Travis image grabbed from java.net in
# https://github.com/travis-ci/travis-cookbooks/blob/master/cookbooks/travis_jdk/files/install-jdk.sh#L200
# (which has 11.0.2 hard-coded!), and instead replace it with the latest openjdk-11-jdk-headless Ubuntu package.
# NB /usr/local/lib/jvm/openjdk11/bin is also on the PATH, but there's no need to change it (because we rm -rf anyway)
-jobs:
+ matrix:
+ allow_failures:
+ - jdk: openjdk-ea
+ - jdk: openjdk14
include:
- stage: Install
name: "Updating Java 11..."
@@ -43,17 +52,6 @@ jobs:
- which java
- java -version
- $JAVA_HOME/bin/java -version
-
-jdk:
- - openjdk8
- - openjdk11
- - openjdk14
- - openjdk-ea
-
-matrix:
- allow_failures:
- - jdk: openjdk-ea
- - jdk: openjdk14
script:
- mvn -V --no-transfer-progress