sbt/main
Dream c3e72f79c0
[2.x] fix: Backtick-quote project IDs in classloader error messages (#8830)
When a test fails with ClassNotFoundException/IllegalAccessError, sbt
suggests a set command to change classLoaderLayeringStrategy. If the
project name contains hyphens (e.g. bug-report), the suggested command
was syntactically invalid because it parses as subtraction in Scala.

Quote project IDs using Util.quoteIfNotScalaId so the suggested
commands are valid when copy-pasted.

Fixes #5803
2026-02-28 01:52:55 -05:00
..
src [2.x] fix: Backtick-quote project IDs in classloader error messages (#8830) 2026-02-28 01:52:55 -05:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00