Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion junit/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repositories {
dependencies {
api project(":")

api platform("org.junit:junit-bom:5.10.0")
api platform("org.junit:junit-bom:5.11.3")
api "org.junit.jupiter:junit-jupiter-engine"
implementation "org.junit.platform:junit-platform-launcher"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,20 @@ public class FabricLoaderLauncherSessionListener implements LauncherSessionListe
System.setProperty(SystemProperties.UNIT_TEST, "true");
}

private final Knot knot;
private final ClassLoader classLoader;
private static Knot knot = null;
private static ClassLoader classLoader = null;

private ClassLoader launcherSessionClassLoader;

public FabricLoaderLauncherSessionListener() {
setup();
}

private static synchronized void setup() {
if (knot != null) {
return;
}

final Thread currentThread = Thread.currentThread();
final ClassLoader originalClassLoader = currentThread.getContextClassLoader();

Expand Down