--- a/src/Pure/System/scala.scala Sat Jul 23 12:19:45 2022 +0200
+++ b/src/Pure/System/scala.scala Mon Jul 25 11:19:08 2022 +0200
@@ -100,9 +100,11 @@
/** compiler **/
- def get_classpath(): List[String] =
- space_explode(JFile.pathSeparatorChar, System.getProperty("java.class.path", ""))
- .filter(_.nonEmpty)
+ def get_classpath(): List[Path] =
+ for {
+ s <- space_explode(JFile.pathSeparatorChar, System.getProperty("java.class.path", ""))
+ if s.nonEmpty
+ } yield Path.explode(File.standard_path(s))
object Compiler {
object Message {