Use of Thread.currentThread.getContextClassLoader
and sbt run
#24098
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
t:build
If available and unless otherwise specified, our serialization uses the
Thread.currentThread.getContextClassLoader
captured while constructing theActorSystem
.This leads to trouble when
Thread.currentThread.getContextClassLoader
cannot resolve basic classes such asscala.Int
, as is the case when usingsbt run
in recent versions of sbt, which can be pretty hard to spot.This sounds like an upstream issue in sbt, but if it persists we might want to find a way to reduce how this affects Akka users.
The text was updated successfully, but these errors were encountered: