Skip to content

Conversation

@eed3si9n
Copy link
Member

@eed3si9n eed3si9n commented Nov 1, 2025

Ref sbt/sbt#8348

Problem

Currently console entry point uses the compiler classloader for JIT optimization. Scala 3.8 split the repl into a different artifact, so we can no longer use the compiler classloader.

Solution

Switch to using the full classloader.

Test (with other changes)

1__java

cc @hamzaremmal

**Problem**
Currently console entry point uses the compiler classloader for JIT optimization.
Scala 3.8 split the repl into a different artifact, so we can no longer use the compiler classloader.

**Solution**
Switch to using the full classloader.
@eed3si9n eed3si9n changed the title [1.x] Scala 3.8 REPL support [1.x] Switch console to the allJars loader (Scala 3.8 REPL support) Nov 1, 2025
@eed3si9n eed3si9n merged commit 7b70075 into sbt:1.12.x Nov 1, 2025
9 checks passed
@eed3si9n eed3si9n deleted the wip/scala-3.8 branch November 1, 2025 23:00
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.

1 participant