MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / checkThread

Method checkThread

src/main/java/field/graphics/Windows.java:383–388  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

381 }
382
383 private void checkClassLoader() {
384 ClassLoader c = Thread.currentThread()
385 .getContextClassLoader();
386 if (c != mainClassLoader) {
387 Log.log("startup.debug", () -> "had to change classloader from <" + c + "- >" + mainClassLoader);
388 Thread.currentThread()
389 .setContextClassLoader(mainClassLoader);
390 }
391

Callers 13

errorMethod · 0.95
windowFocusMethod · 0.95
windowRefreshMethod · 0.95
mouseButtonMethod · 0.95
scrollMethod · 0.95
cursorPosMethod · 0.95
keyMethod · 0.95
characterMethod · 0.95
dropMethod · 0.95
windowCloseMethod · 0.95
windowPosMethod · 0.95
windowSizeMethod · 0.95

Calls 1

isMainThreadMethod · 0.80

Tested by

no test coverage detected