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

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

/root/JavaX-Caches/tmp_630063371/main.java:1: error: class, interface, or enum expected static tok_p_new(L<S> tok) { ^ /root/JavaX-Caches/tmp_630063371/main.java:4: error: class, interface, or enum expected bigloop: for (int i : jfindAll(tok, "p-")) { ^ /root/JavaX-Caches/tmp_630063371/main.java:6: error: class, interface, or enum expected new L<S> clauses; ^ /root/JavaX-Caches/tmp_630063371/main.java:7: error: class, interface, or enum expected while (isIdentifier(get(tok, j))) { ^ /root/JavaX-Caches/tmp_630063371/main.java:9: error: class, interface, or enum expected S t = get(tok, j+2); ^ /root/JavaX-Caches/tmp_630063371/main.java:10: error: class, interface, or enum expected if (eq(t, "-")) { j += 4; continue; } ^ /root/JavaX-Caches/tmp_630063371/main.java:10: error: class, interface, or enum expected if (eq(t, "-")) { j += 4; continue; } ^ /root/JavaX-Caches/tmp_630063371/main.java:10: error: class, interface, or enum expected if (eq(t, "-")) { j += 4; continue; } ^ /root/JavaX-Caches/tmp_630063371/main.java:11: error: class, interface, or enum expected if (eq(t, "{")) { j += 2; break; } ^ /root/JavaX-Caches/tmp_630063371/main.java:11: error: class, interface, or enum expected if (eq(t, "{")) { j += 2; break; } ^ /root/JavaX-Caches/tmp_630063371/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_630063371/main.java:19: error: class, interface, or enum expected for (S c : clauses) { ^ /root/JavaX-Caches/tmp_630063371/main.java:22: error: class, interface, or enum expected if (eqOneOf(c, "noconsole")) ^ /root/JavaX-Caches/tmp_630063371/main.java:24: error: class, interface, or enum expected jreplace(tok, "p-pretty {", "p-noconsole {"); ^ /root/JavaX-Caches/tmp_630063371/main.java:25: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-awt-noconsole", "p-awt {", ";\nhideConsole(); }"); ^ /root/JavaX-Caches/tmp_630063371/main.java:26: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-substance-noconsole", "p-substance {", ";\nhideConsole(); }"); ^ /root/JavaX-Caches/tmp_630063371/main.java:27: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-nimbus-noconsole", "p-nimbus {", ";\nhideConsole(); }"); ^ /root/JavaX-Caches/tmp_630063371/main.java:28: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-subst-noconsole", "p-subst {", ";\nhideConsole(); }"); ^ /root/JavaX-Caches/tmp_630063371/main.java:29: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-noconsole", "p-subst {", ";\nhideConsole(); }"); ^ /root/JavaX-Caches/tmp_630063371/main.java:30: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-subst", "p-substance-thread {", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:31: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-substance-thread", "p { substance();", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:32: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-magellan-thread", "p { magellan();", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:33: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-substance", "p-awt { substance();", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:34: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-nimbus", "p-awt { nimbus();", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:35: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-center", "p { centerConsole(); ", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:36: error: class, interface, or enum expected jreplace(tok, "p-type {", "p-typewriter {"); ^ /root/JavaX-Caches/tmp_630063371/main.java:37: error: class, interface, or enum expected jreplace(tok, "p-tt {", "p-typewriter {"); ^ /root/JavaX-Caches/tmp_630063371/main.java:38: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-awt", "p { swing {", "}}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:39: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-typewriter", "p { typeWriterConsole();", "}"); ^ /root/JavaX-Caches/tmp_630063371/main.java:40: error: class, interface, or enum expected replaceKeywordBlock(tok, "p-lowprio", "p { lowPriorityThread(r " + "{", "}); }"); ^ /root/JavaX-Caches/tmp_630063371/main.java:41: error: class, interface, or enum expected changes = true; reTok(tok, i, j+1); continue bigbigloop; ^ /root/JavaX-Caches/tmp_630063371/main.java:41: error: class, interface, or enum expected changes = true; reTok(tok, i, j+1); continue bigbigloop; ^ /root/JavaX-Caches/tmp_630063371/main.java:41: error: class, interface, or enum expected changes = true; reTok(tok, i, j+1); continue bigbigloop; ^ /root/JavaX-Caches/tmp_630063371/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_630063371/main.java:45: error: class, interface, or enum expected tok_p_old(tok); ^ /root/JavaX-Caches/tmp_630063371/main.java:46: error: class, interface, or enum expected } ^ 36 errors