Wrote /root/JavaX-Caches/tmp_1629291156/main.java - 3501 bytes (written=3501, should be 3501) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar -d /root/JavaX-Caches/tmp_2104072051 /root/JavaX-Caches/tmp_1629291156/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1629291156/main.java:1: error: class, interface, or enum expected concept HandoverConfig { ^ /root/JavaX-Caches/tmp_1629291156/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:20: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1629291156/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:24: error: class, interface, or enum expected bool allowGeneralOverride() { true; } ^ /root/JavaX-Caches/tmp_1629291156/main.java:31: error: class, interface, or enum expected if (eqic(tag, "#DoYouWantAHuman")) { ^ /root/JavaX-Caches/tmp_1629291156/main.java:35: error: class, interface, or enum expected conv.setForm(new Form_DoYouWantAHuman(conv)); ^ /root/JavaX-Caches/tmp_1629291156/main.java:36: error: class, interface, or enum expected ret ""; // Text comes from Q&A admin ^ /root/JavaX-Caches/tmp_1629291156/main.java:37: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:42: error: class, interface, or enum expected if (workerChat.anyWorkersAvailable()) ^ /root/JavaX-Caches/tmp_1629291156/main.java:44: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1629291156/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:49: error: invalid method declaration; return type required runnable class TimeoutAction { onTimeout(); } ^ /root/JavaX-Caches/tmp_1629291156/main.java:51: error: class, interface, or enum expected void update(Runnable change) { ^ /root/JavaX-Caches/tmp_1629291156/main.java:53: error: class, interface, or enum expected if (conversation.worker != null) ^ /root/JavaX-Caches/tmp_1629291156/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:59: error: class, interface, or enum expected workerChat.lastWorkerRequested = now(); // play special notification sound ^ /root/JavaX-Caches/tmp_1629291156/main.java:60: error: class, interface, or enum expected ret getCannedAnswer("#connecting", conversation); ^ /root/JavaX-Caches/tmp_1629291156/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:65: error: class, interface, or enum expected print("Handover accept"); ^ /root/JavaX-Caches/tmp_1629291156/main.java:66: error: class, interface, or enum expected conversation.add(new Msg(getCannedAnswer("#connected", conversation), false)); ^ /root/JavaX-Caches/tmp_1629291156/main.java:67: error: class, interface, or enum expected conversation.cancelForm(); ^ /root/JavaX-Caches/tmp_1629291156/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:72: error: class, interface, or enum expected print("Handover timeout"); ^ /root/JavaX-Caches/tmp_1629291156/main.java:73: error: class, interface, or enum expected conversation.add(new Msg(getCannedAnswer("#away", conversation), false)); ^ /root/JavaX-Caches/tmp_1629291156/main.java:74: error: class, interface, or enum expected conversation.cancelForm(); ^ /root/JavaX-Caches/tmp_1629291156/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:80: error: class, interface, or enum expected bool requestAuthed = auth != null; ^ /root/JavaX-Caches/tmp_1629291156/main.java:82: error: class, interface, or enum expected if (startsWith(uri2, "/handover-admin/")) { ^ /root/JavaX-Caches/tmp_1629291156/main.java:83: error: unclosed character literal if (!requestAuthed) ret serveAuthForm(params.get('uri)); ^ /root/JavaX-Caches/tmp_1629291156/main.java:84: error: class, interface, or enum expected ret serveHandoverAdmin(uri, params); ^ /root/JavaX-Caches/tmp_1629291156/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:91: error: class, interface, or enum expected S _nav = p(ahref(rawBotLink(dbBotID), "Main admin") + " | " + ahref(baseLink + "/handover-admin", "Handover admin")); ^ /root/JavaX-Caches/tmp_1629291156/main.java:93: error: class, interface, or enum expected HCRUD_Concepts<HandoverConfig> data = new HCRUD_Concepts<>(HandoverConfig); ^ /root/JavaX-Caches/tmp_1629291156/main.java:94: error: class, interface, or enum expected data.fieldHelp = litmap( ^ /root/JavaX-Caches/tmp_1629291156/main.java:98: error: class, interface, or enum expected HCRUD crud = new(rawLink("handover-admin"), data) { ^ /root/JavaX-Caches/tmp_1629291156/main.java:104: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1629291156/main.java:106: error: class, interface, or enum expected crud.singleton = true; ^ /root/JavaX-Caches/tmp_1629291156/main.java:107: error: class, interface, or enum expected crud.cmdsLeft = true; ^ /root/JavaX-Caches/tmp_1629291156/main.java:108: error: class, interface, or enum expected crud.tableClass = "responstable"; ^ /root/JavaX-Caches/tmp_1629291156/main.java:109: error: class, interface, or enum expected ret crud.renderPage(params); ^ /root/JavaX-Caches/tmp_1629291156/main.java:110: error: class, interface, or enum expected } ^ 43 errors