mirror of https://github.com/sbt/sbt.git
Merge pull request #4679 from eatkins/rt-jar
Don't ever invalidate rt.jar
This commit is contained in:
commit
15b4befa9c
|
|
@ -84,6 +84,7 @@ private[sbt] object ExternalHooks {
|
||||||
case _ =>
|
case _ =>
|
||||||
javaHome match {
|
javaHome match {
|
||||||
case Some(h) if file.toPath.startsWith(h) => None
|
case Some(h) if file.toPath.startsWith(h) => None
|
||||||
|
case _ if file.getName == "rt.jar" => None
|
||||||
case _ => Some(file)
|
case _ => Some(file)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue