Skip to content

Conversation

lrytz
Copy link
Contributor

@lrytz lrytz commented Jan 23, 2024

Passing -bootclasspath /path/to/scala-library.jar to the Scala compiler is only done for historical reasons. Putting the Scala library on the ordinary classspath is equivalent.

This commit adds a noboot factory for ClasspathOptions which doesn't use -bootclasspath for Scala 2.13 and Scala 3.

This change was made in the context of SIP-51, unfreeze the Scala library / sbt/sbt#7480, but it's just a cleanup and not actually required.

Passing `-bootclasspath /path/to/scala-library.jar` to the Scala
compiler is only done for historical reasons. Putting the Scala library
on the ordinary classspath is equivalent.

This commit adds a `noboot` factory for ClasspathOptions which
doesn't use `-bootclasspath` for Scala 2.13 and Scala 3.
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit c4f4ec0 into sbt:develop Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants