Skip to content

Add JDK 9 to Travis #173

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 Oct 23, 2017 · 5 comments
Closed

Add JDK 9 to Travis #173

ashawley opened this issue Oct 23, 2017 · 5 comments

Comments

@ashawley
Copy link
Member

Running in Java 9 should be possible. It may require an update to sbt?

Trying it in Travis, I get the following:

error: error while loading package, Missing dependency 'object java.lang.Object in compiler mirror',
required by /home/travis/.sbt/boot/scala-2.10.6/lib/scala-library.jar(scala/package.class)
error: error while loading package, Missing dependency 'object java.lang.Object in compiler mirror'
required by /home/travis/.sbt/boot/scala-2.10.6/lib/scala-library.jar(scala/runtime/package.class)
scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
@ashawley
Copy link
Member Author

Or maybe an update to sbt-scala-module plugin, see scala/sbt-scala-module#35

@SethTisue
Copy link
Member

SethTisue commented Oct 23, 2017

Let's come back to this once Scala 2.10.7 and sbt 0.13.17 come out.

(In the context of scala/community-build#609 I do have scala-xml building on Java 9; that's good enough for now, messing around with the same workarounds in the Travis config here would take time/effort and isn't really necessary.)

@ashawley
Copy link
Member Author

ashawley commented Nov 7, 2017

Looks like Scala 2.11.12 and 2.12.4 fixed it, or do we really need a new sbt?

@ashawley
Copy link
Member Author

ashawley commented Nov 7, 2017

I was wrong, we really are waiting on a new sbt.

@SethTisue
Copy link
Member

now that Scala 2.10.7 is on Maven Central, we don't actually need a new sbt because we can just sbt -Dsbt.scala.version=2.10.7 (as a workaround until 0.13.17 comes out with that as the default)

but it doesn't matter right now because scala/sbt-scala-module#35 is still a blocker, I think

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

Successfully merging a pull request may close this issue.

2 participants