-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade Scala 2.12.4 -> 2.12.6 #4126
Conversation
I have no specific user-visible benefit in mind other than fewer JARs to download for people who are on current versions of things
Uhhhh... lots and lots of these in CI:
mayday, mayday? |
maybe one of the 2.12.4's I changed to 2.12.6 actually needs to be 2.12.4 because it has to match the version of sbt that's building the code, something like that? the NPE can come from:
means there's some null coming from some indeterminate earlier point in time, looks hairy to investigate. this PR was really more a reminder than something I intended to personally pursue, and the likelihood of this being caused by an actual regression in 2.12.5 or 2.12.6 seems fairly low to me. |
This is a bug of RunFromSourceMain.scala I think. See https://github.com/sbt/sbt/blob/1.x/sbt/src/test/scala/sbt/RunFromSourceMain.scala#L50-L56 private def getConf(baseDir: File, args: Seq[String]): AppConfiguration = new AppConfiguration {
def baseDirectory = baseDir
def arguments = args.toArray
def provider = new AppProvider { appProvider =>
def bootDirectory: File = file(sys.props("user.home")) / ".sbt" / "boot"
def scalaHome: File = bootDirectory / s"scala-$scalaVersion"
def scalaProvider = new ScalaProvider { scalaProvider => the new scripted test uses |
Closing this in favor of #4129 |
I have no specific user-visible benefit in mind other than fewer
JARs to download for people who are on current versions of things