diff options
Diffstat (limited to 'core/src/mill/util/ClassLoader.scala')
-rw-r--r-- | core/src/mill/util/ClassLoader.scala | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/core/src/mill/util/ClassLoader.scala b/core/src/mill/util/ClassLoader.scala index 9f0a7ab3..9678989e 100644 --- a/core/src/mill/util/ClassLoader.scala +++ b/core/src/mill/util/ClassLoader.scala @@ -52,12 +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 / io.github.retronym.java9rtexport.Export.rtJarName - if (!exists(rtFile)) { - cp(Path(Export.rt()), rtFile) - } - urls :+ rtFile.toNIO.toUri.toURL + urls :+ Export.rtAt(ctx.home.toIO).toURI.toURL } else { urls } |