Wrote /root/JavaX-Caches/tmp_1480030055/main.java - 1916 bytes (written=1916, should be 1916) 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_772747127 /root/JavaX-Caches/tmp_1480030055/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1480030055/main.java:3: error: class, interface, or enum expected static new ThreadLocal<Bool> transpileForServer_compile; ^ /root/JavaX-Caches/tmp_1480030055/main.java:4: error: class, interface, or enum expected static long transpileForServer_localTime; ^ /root/JavaX-Caches/tmp_1480030055/main.java:5: error: class, interface, or enum expected sbool transpileForServer_forceJavacOnServer; ^ /root/JavaX-Caches/tmp_1480030055/main.java:6: error: class, interface, or enum expected sbool transpileForServer_forceJavacWhenLibs; ^ /root/JavaX-Caches/tmp_1480030055/main.java:8: error: class, interface, or enum expected svoid transpileForServer(S progID) { ^ /root/JavaX-Caches/tmp_1480030055/main.java:10: error: class, interface, or enum expected S javax = loadSnippet(progID); ^ /root/JavaX-Caches/tmp_1480030055/main.java:11: error: class, interface, or enum expected print("Source: " + l(javax)); ^ /root/JavaX-Caches/tmp_1480030055/main.java:13: error: class, interface, or enum expected long time = sysNow(); ^ /root/JavaX-Caches/tmp_1480030055/main.java:15: error: class, interface, or enum expected time "Transpile" { ^ /root/JavaX-Caches/tmp_1480030055/main.java:17: error: class, interface, or enum expected S java; ^ /root/JavaX-Caches/tmp_1480030055/main.java:18: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1480030055/main.java:20: error: class, interface, or enum expected } on fail e { ^ /root/JavaX-Caches/tmp_1480030055/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1480030055/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1480030055/main.java:27: error: class, interface, or enum expected java = findTranslators2(java, libs); ^ /root/JavaX-Caches/tmp_1480030055/main.java:28: error: class, interface, or enum expected print("Libs: " + or2(joinWithComma(libs), "-")); ^ /root/JavaX-Caches/tmp_1480030055/main.java:30: error: class, interface, or enum expected S dehlibs = join(" ", libs); ^ /root/JavaX-Caches/tmp_1480030055/main.java:32: error: class, interface, or enum expected if (!isFalse(transpileForServer_compile!)) { ^ /root/JavaX-Caches/tmp_1480030055/main.java:34: error: class, interface, or enum expected print("Bytecode: " + f2s(assertNotNull(bytecode))); ^ /root/JavaX-Caches/tmp_1480030055/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1480030055/main.java:39: error: class, interface, or enum expected S result = postPageWithCredentials(server + "/tb/upload-transpilation.php", ^ /root/JavaX-Caches/tmp_1480030055/main.java:45: error: class, interface, or enum expected Matcher m = regexp("URL=/(dexcompile\\.php.*?)'", result); ^ /root/JavaX-Caches/tmp_1480030055/main.java:46: error: class, interface, or enum expected if (!m.find()) fail("Server said: " + result); ^ /root/JavaX-Caches/tmp_1480030055/main.java:48: error: class, interface, or enum expected S url = server + "/" + m.group(1); ^ /root/JavaX-Caches/tmp_1480030055/main.java:49: error: class, interface, or enum expected if (transpileForServer_forceJavacOnServer || transpileForServer_forceJavacWhenLibs && nempty(libs)) ^ /root/JavaX-Caches/tmp_1480030055/main.java:52: error: class, interface, or enum expected result = postPageWithCredentials(url); ^ /root/JavaX-Caches/tmp_1480030055/main.java:54: error: class, interface, or enum expected bool ok = result.contains("SUCCESS"); ^ /root/JavaX-Caches/tmp_1480030055/main.java:55: error: class, interface, or enum expected sendToSnippetUpdatesBot("/transpile" + (ok ? "OK" : "Fail") ^ /root/JavaX-Caches/tmp_1480030055/main.java:58: error: class, interface, or enum expected if (!ok) ^ /root/JavaX-Caches/tmp_1480030055/main.java:61: error: class, interface, or enum expected print("Transpiled & uploaded " + fsI(progID) + "!"); ^ /root/JavaX-Caches/tmp_1480030055/main.java:62: error: class, interface, or enum expected } ^ 31 errors