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

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

/root/JavaX-Caches/tmp_81937746/main.java:3: error: class, interface, or enum expected static S jreplace_dyn_allowNull(S s, S in, TokReplacer replacer, ITokCondition condition default null) { ^ /root/JavaX-Caches/tmp_81937746/main.java:5: error: class, interface, or enum expected jreplace_dyn_allowNull(tok, in, replacer, condition); ^ /root/JavaX-Caches/tmp_81937746/main.java:6: error: class, interface, or enum expected ret join(tok); ^ /root/JavaX-Caches/tmp_81937746/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_81937746/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_81937746/main.java:15: error: class, interface, or enum expected jfind_preprocess(tokin); ^ /root/JavaX-Caches/tmp_81937746/main.java:16: error: class, interface, or enum expected S[] toks = toStringArray(codeTokensOnly(tokin)); ^ /root/JavaX-Caches/tmp_81937746/main.java:18: error: class, interface, or enum expected bool anyChange; ^ /root/JavaX-Caches/tmp_81937746/main.java:19: error: class, interface, or enum expected int i = 0; ^ /root/JavaX-Caches/tmp_81937746/main.java:20: error: class, interface, or enum expected for safety to 10000: { ^ /root/JavaX-Caches/tmp_81937746/main.java:22: error: class, interface, or enum expected ifdef jreplace_dyn_allowNull_debug ^ /root/JavaX-Caches/tmp_81937746/main.java:24: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_81937746/main.java:26: error: class, interface, or enum expected if (i < 0) ret anyChange; ^ /root/JavaX-Caches/tmp_81937746/main.java:27: error: class, interface, or enum expected int start = i, end = i+l(tokin)-2; ^ /root/JavaX-Caches/tmp_81937746/main.java:28: error: class, interface, or enum expected i = end+2; ^ /root/JavaX-Caches/tmp_81937746/main.java:29: error: class, interface, or enum expected S expansion = replacer.get(tok, start, end); ^ /root/JavaX-Caches/tmp_81937746/main.java:30: error: class, interface, or enum expected if (expansion != null) { ^ /root/JavaX-Caches/tmp_81937746/main.java:32: error: class, interface, or enum expected ifdef jreplace_dyn_allowNull_debug ^ /root/JavaX-Caches/tmp_81937746/main.java:34: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_81937746/main.java:36: error: class, interface, or enum expected if (reTok) { // would this ever be false?? ^ /root/JavaX-Caches/tmp_81937746/main.java:38: error: class, interface, or enum expected reTok(tok, start, end); ^ /root/JavaX-Caches/tmp_81937746/main.java:39: error: class, interface, or enum expected i += l(tok)-n; // adjust for replacement ^ /root/JavaX-Caches/tmp_81937746/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_81937746/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_81937746/main.java:45: error: class, interface, or enum expected } ^ 25 errors