Skip to content
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

Changes to make {clientserver,main,scalalib,scalajslib}.test work under Java 9 #217

Merged
merged 3 commits into from
Mar 11, 2018

Conversation

robby-phd
Copy link
Collaborator

@robby-phd robby-phd commented Mar 10, 2018

While pull request #215 enables mill to run under Java 9 and 10, it turns out more changes are needed to make {clientserver,main,scalalib,scalajslib}.test work under Java 9-10.

Basically, creation of URLClassLoader has to take into account "exported rt.jar" (see com-lihaoyi/Ammonite#761); a helper object method is added to facilitate this.

Note that the following tests are disabled under Java 9 or above (require further investigations):

  • Tests using Scala 2.10 and 2.11 (cannot find xsbt.CompilerInterface)

  • Tests using ScalaJsUtil.runJs (null when retrieving nashorn script engine)

Integrating this pull request builds a mill release that can be used to run test-mill-0.sh using oraclejdk9 in travis.

@robby-phd robby-phd changed the title Test mill using Java 8 and 9 Changes to make {clientserver,main,scalalib,scalajslib}.test work under Java 9 Mar 11, 2018
@lihaoyi
Copy link
Member

lihaoyi commented Mar 11, 2018

Sounds good to me

@lihaoyi lihaoyi merged commit 46c5168 into com-lihaoyi:master Mar 11, 2018
@lefou lefou added this to the 0.1.5 milestone May 3, 2019
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 this pull request may close these issues.

3 participants