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

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

/root/JavaX-Caches/tmp_1242842683/main.java:2: error: class, interface, or enum expected static Pair<Bool, S> transpileOnServer(S snippetID) { ^ /root/JavaX-Caches/tmp_1242842683/main.java:4: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1242842683/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1242842683/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1242842683/main.java:19: error: class, interface, or enum expected S url = tb_mainServer() + "/tb/transpile.php"; ^ /root/JavaX-Caches/tmp_1242842683/main.java:20: error: class, interface, or enum expected S modeStr = "&quick=1"; ^ /root/JavaX-Caches/tmp_1242842683/main.java:21: error: class, interface, or enum expected if (eq(mode, "medium")) modeStr += "&medium=1"; ^ /root/JavaX-Caches/tmp_1242842683/main.java:22: error: class, interface, or enum expected if (eq(mode, "fresh")) modeStr += "&fresh=1"; ^ /root/JavaX-Caches/tmp_1242842683/main.java:23: error: class, interface, or enum expected S query = "id=" + parseSnippetID(snippetID) + modeStr + standardCredentials(); ^ /root/JavaX-Caches/tmp_1242842683/main.java:24: error: class, interface, or enum expected S result = loadPage(url + "?" + query); ^ /root/JavaX-Caches/tmp_1242842683/main.java:25: error: class, interface, or enum expected print(result); ^ /root/JavaX-Caches/tmp_1242842683/main.java:27: error: class, interface, or enum expected Matcher m = regexp("URL=/(dexcompile\\.php.*?)'", result); ^ /root/JavaX-Caches/tmp_1242842683/main.java:28: error: class, interface, or enum expected if (!m.find()) ^ /root/JavaX-Caches/tmp_1242842683/main.java:31: error: class, interface, or enum expected url = tb_mainServer() + "/" + m.group(1) + standardCredentials(); ^ /root/JavaX-Caches/tmp_1242842683/main.java:32: error: class, interface, or enum expected result = loadPage(url); ^ /root/JavaX-Caches/tmp_1242842683/main.java:33: error: class, interface, or enum expected bool ok = result.contains("SUCCESS"); ^ /root/JavaX-Caches/tmp_1242842683/main.java:34: error: class, interface, or enum expected ret pair(ok, result); ^ /root/JavaX-Caches/tmp_1242842683/main.java:35: error: class, interface, or enum expected } ^ 18 errors