From 43a2b6d0041e59a0c01b8ad29838b39a8ff21638 Mon Sep 17 00:00:00 2001 From: sanasol Date: Fri, 27 Feb 2026 22:47:46 +0100 Subject: [PATCH] debug: disable DualAuth agent to test fastutil classloader issue Temporarily skip -javaagent injection to determine if agent's appendToBootstrapClassLoaderSearch() causes the fastutil ClassNotFoundException on affected Windows systems. Co-Authored-By: Claude Opus 4.6 --- backend/managers/gameLauncher.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/backend/managers/gameLauncher.js b/backend/managers/gameLauncher.js index 653b214..16a789f 100644 --- a/backend/managers/gameLauncher.js +++ b/backend/managers/gameLauncher.js @@ -482,15 +482,11 @@ async function launchGame(playerNameOverride = null, progressCallback, javaPathO } } - // DualAuth Agent: Set JAVA_TOOL_OPTIONS so java picks up -javaagent: flag - // This enables runtime auth patching without modifying the server JAR + // DualAuth Agent: DISABLED for debug - testing fastutil classloader issue + // TODO: re-enable after testing const agentJar = path.join(gameLatest, 'Server', 'dualauth-agent.jar'); if (fs.existsSync(agentJar)) { - const agentFlag = `-javaagent:"${agentJar}"`; - env.JAVA_TOOL_OPTIONS = env.JAVA_TOOL_OPTIONS - ? `${env.JAVA_TOOL_OPTIONS} ${agentFlag} -Xshare:off` - : `${agentFlag} -Xshare:off`; - console.log('DualAuth Agent: enabled via JAVA_TOOL_OPTIONS'); + console.log('DualAuth Agent: SKIPPED (debug build - fastutil classloader test)'); } try {