Wrote /root/JavaX-Caches/tmp_963555769/main.java - 905 bytes (written=905, should be 905)
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_2141810629 /root/JavaX-Caches/tmp_963555769/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_963555769/main.java:1: error: class, interface, or enum expected
scope dm_gazelle_addRuleWithComment.
^
/root/JavaX-Caches/tmp_963555769/main.java:3: error: illegal character: '#'
static new ThreadLocal #msg;
^
/root/JavaX-Caches/tmp_963555769/main.java:4: error: class, interface, or enum expected
static new ThreadLocal #renderWithoutComments;
^
/root/JavaX-Caches/tmp_963555769/main.java:4: error: illegal character: '#'
static new ThreadLocal #renderWithoutComments;
^
/root/JavaX-Caches/tmp_963555769/main.java:5: error: class, interface, or enum expected
static new ThreadLocal #noInfoBox;
^
/root/JavaX-Caches/tmp_963555769/main.java:5: error: illegal character: '#'
static new ThreadLocal #noInfoBox;
^
/root/JavaX-Caches/tmp_963555769/main.java:8: error: class, interface, or enum expected
static Pair dm_gazelle_addRuleWithComment(S text, S comment) {
^
/root/JavaX-Caches/tmp_963555769/main.java:9: error: unclosed character literal
Pair p = cast quickImport(dm_call(dm_gazelle_rulesModule(), 'addRuleWithComment, text, comment));
^
/root/JavaX-Caches/tmp_963555769/main.java:10: error: class, interface, or enum expected
S rendered = newLinesToSpaces_trim(text);
^
/root/JavaX-Caches/tmp_963555769/main.java:11: error: class, interface, or enum expected
if (nempty(comment) && !isTrue(renderWithoutComments))
^
/root/JavaX-Caches/tmp_963555769/main.java:13: error: class, interface, or enum expected
S _msg = setTLAndReturn(msg, p.b ? "Rule " + p.a + " added: " + rendered : "Rule already there: " + p.a + " - " + rendered);
^
/root/JavaX-Caches/tmp_963555769/main.java:14: error: class, interface, or enum expected
if (!boolPar(noInfoBox)) infoBox(_msg);
^
/root/JavaX-Caches/tmp_963555769/main.java:15: error: class, interface, or enum expected
ret p;
^
/root/JavaX-Caches/tmp_963555769/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_963555769/main.java:20: error: class, interface, or enum expected
}
^
15 errors