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
The following commit(s) were added to refs/heads/master by this push: new 7d1134d Try to force to use the latest Java 11 instead of 11.0.2 to fix https://bugs.openjdk.java.net/browse/JDK-8212233 7d1134d is described below commit 7d1134d8e1bda85a3df4f2611514a7f6d2a7c3a3 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Aug 8 23:04:06 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 | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 47a8239..3d49410 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,16 +29,20 @@ dist: bionic # 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) -before_install: - - if: jdk = openjdk11 - - echo $JAVA_HOME - - which java - - sudo rm -rf /usr/local/lib/jvm/ - - sudo apt-get install -y openjdk-11-jdk-headless - - export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ - - which java - - java -version - - $JAVA_HOME/bin/java -version +jobs: + include: + - stage: Install + name: "Updating Java 11..." + jdk: openjdk11 + before_install: + - echo $JAVA_HOME + - which java + - sudo rm -rf /usr/local/lib/jvm/ + - sudo apt-get install -y openjdk-11-jdk-headless + - export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ + - which java + - java -version + - $JAVA_HOME/bin/java -version jdk: - openjdk8