summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRobby <robby@k-state.edu>2018-03-26 10:39:35 -0500
committerRobby <robby@k-state.edu>2018-03-26 10:39:35 -0500
commitb913c6b5b37e5cbdd34c067df831ac05efb3ec79 (patch)
tree39c019e25eef584788fb2ebc57100a77adf5f826 /core
parenta606746e3f58da0d4dfdc2e1efae4ccec31251c2 (diff)
downloadmill-b913c6b5b37e5cbdd34c067df831ac05efb3ec79.tar.gz
mill-b913c6b5b37e5cbdd34c067df831ac05efb3ec79.tar.bz2
mill-b913c6b5b37e5cbdd34c067df831ac05efb3ec79.zip
Upgrade Ammonite to 1.1.0-3-73d5734.
Diffstat (limited to 'core')
-rw-r--r--core/src/mill/util/ClassLoader.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/mill/util/ClassLoader.scala b/core/src/mill/util/ClassLoader.scala
index d650aceb..8017c958 100644
--- a/core/src/mill/util/ClassLoader.scala
+++ b/core/src/mill/util/ClassLoader.scala
@@ -52,7 +52,7 @@ object ClassLoader {
private def makeUrls(urls: Seq[URL])(implicit ctx: Ctx.Home): Seq[URL] = {
if (ammonite.util.Util.java9OrAbove) {
- val rtFile = ctx.home / s"rt-${System.getProperty("java.version")}.jar"
+ val rtFile = ctx.home / ammonite.runtime.Classpath.rtJarName
if (!exists(rtFile)) {
cp(Path(Export.export()), rtFile)
}