Conversation
b7b2b7d to
7b139ae
Compare
Contributor
Author
|
For anyone interested in this journey though CI update rabbit-hole - check individual commit messages. |
This was referenced Apr 11, 2019
As it comes with more recent versions of compilers https://docs.travis-ci.com/user/reference/xenial/#compilers-and-build-toolchain That also requires bumping JDK version, and a minimal still supported one - 9 is used (EOL March 2019). Signed-off-by: Alexander Bezzubov <bzz@apache.org>
JDK 9 EOL is March 2018 and 10 Sep 2018 and allthough TravisCI profiles still support it through https://github.com/sormuras/bach#install-jdksh using the former from Oracle fails the build with ``` install-jdk.sh --target "/home/travis/oraclejdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "BCL" install-jdk.sh 2019-03-23 Variables: feature = 9 license = BCL os = linux-x64 url = http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz status = 302 ``` and the latter `oraclejdk10 is deprecated. See https://www.oracle.com/technetwork/java/javase/eol-135779.html` Most probably deserves an issue similar to travis-ci/travis-ci#9895 or a question at https://travis-ci.community/c/environments/xenialand This change bumps to smallest-but-still-working openjdk10 Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Using latest from https://github.com/paulp/sbt-extras/blob/a47a965e00ecd66793832e2a12a1972d25e6f734/sbt Otherwise with newerd JDK it results in ``` ./sbt: line 230: [[: .: syntax error: operand expected (error token is ".") ``` Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Othrewise build on newer JDK would fail ``` WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:/home/travis/.sbt/launchers/0.13.16/sbt-launch.jar) to field java.net.Authenticator.theAuthenticator ``` Signed-off-by: Alexander Bezzubov <bzz@apache.org>
Contributor
Author
|
Leaving it as-is for now, until there is a consensus on JDK version we want to support in #223 |
Contributor
Author
|
Going to close this and just re-use later, as soon as there is progress on #223 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #223
Updates done for CI:
still supportedversion oforaclejdk9.sbtwrappersbtversion0.13.x->1.xsbtplugins versionsbuild.sbtto the new plugins apis