mirror of https://github.com/sbt/sbt.git
The previous implementation of ZombieClassLoader was not thread safe. This caused problems because it is possible for the ManagedClassLoader in test to leak into the coursier thread pool if the test uses bouncy castle apis. Unfortunately, these apis seem to in some cases assign static variables using the Thread context class loader. Because the bouncycastle apis are implemented by the jdk, they are found in the system classloader and thus the static references leak out of the test context. I had a local repro of https://github.com/sbt/sbt/issues/5249 that is fixed by this change. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||