Skip to content

Travis broken for Java 6 #1380

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ashawley opened this issue Jun 11, 2018 · 2 comments
Closed

Travis broken for Java 6 #1380

ashawley opened this issue Jun 11, 2018 · 2 comments

Comments

@ashawley
Copy link
Contributor

Looks like the Lightbend folks reported it and found a solution. For an example fix, see scala/scala-parser-combinators#156.

@fancywriter
Copy link
Contributor

This is not the only issue with java 6.
Travis workaround works, however, maven central has changed TLS version and java 6 doesn't support it (at least version is used in travis, it is likely that latest jdk-6 supports is, but in travis it is not latest), java 7 and java 8 support it.

Details here https://central.sonatype.org/articles/2018/May/04/discontinued-support-for-tlsv11-and-below/

Possible workarounds

  • disable maven central (not sure if it's possible, can SBT do this, and does it have dependencies which can't be found on mirrors which support TLSv1 ?)
  • switch from maven central from https to http (not good also) - have no idea how to do it in SBT
  • forget about java-6, it's 2018 today! is it really needed to be supported??? java 8 is stable enough
  • make travis to use latest build of JDK-6 - should work (but couldn't test it) and this is probably the best option

@ashawley
Copy link
Contributor Author

Indeed, openjdk6 doesn't support TLS 1.2, but Oracle JDK has shipped with TLS 1.2 since July-2016.

Option (2), switching to HTTP, seems like the only option for Travis for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants