We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d911336 commit ec62e90Copy full SHA for ec62e90
compiler/src/dotty/tools/dotc/config/PathResolver.scala
@@ -53,8 +53,7 @@ object PathResolver {
53
def classPathEnv: String = envOrElse("CLASSPATH", "")
54
def sourcePathEnv: String = envOrElse("SOURCEPATH", "")
55
56
- //using propOrNone/getOrElse instead of propOrElse so that searchForBootClasspath is lazy evaluated
57
- def javaBootClassPath: String = propOrNone("sun.boot.class.path") getOrElse searchForBootClasspath
+ def javaBootClassPath: String = propOrElse("sun.boot.class.path", searchForBootClasspath)
58
59
def javaExtDirs: String = propOrEmpty("java.ext.dirs")
60
def scalaHome: String = propOrEmpty("scala.home")
0 commit comments