You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing building with Java 9 in our CI environment.
I've run `sbt publishLocal` on the CI server to make SBT 0.13.4-b646662
available. This includes changes to be compatible with Java 9.
I've also installed JDK9-ea on the CI server, and made it selectable
with `jvmSelect oracle 9`:
scala/scala-jenkins-infra#221
Finally, I've used:
https://github.com/retronym/java9-rt-export
to export a Java 8-style rt.jar to make scalac work without
needing native support for reading the jrt:// virtual filesystem
containing the standard library classes. Scala 2.12.1 and higher
support this, but SBT itself still uses Scala 2.10.6, so the shim
JAR is required.
This commit uses 0.13.4-b646662 for this build. The following
commit will sets an system property to instruct scalac to add the
rt.jar shim to the compilation classpath. I've split these steps
to help diagnose a failure.
r
0 commit comments