sbt/worker
Anatolii Kmetiuk 862884b330 Fix #8345: forked test execution doesn't access main resources
Fixes issue where tests running in forked mode (Test / fork := true)
cannot access resources from src/main/resources, while non-forked
execution works correctly.

Root cause: Context classloader not set: tests using
Thread.currentThread().getContextClassLoader() couldn't find
resources because the context classloader wasn't set to the
URLClassLoader with the classpath

Solution: Set context classloader in ForkTestMain.runTests() to the
URLClassLoader containing the test classpath
2025-12-08 14:17:09 +09:00
..
src Fix #8345: forked test execution doesn't access main resources 2025-12-08 14:17:09 +09:00