Wrote /root/JavaX-Caches/tmp_1094313372/main.java - 2165 bytes (written=2165, should be 2165)
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_1345466699 /root/JavaX-Caches/tmp_1094313372/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1094313372/main.java:1: error: class, interface, or enum expected
sbool tok_defaultArguments_debug = true;
^
/root/JavaX-Caches/tmp_1094313372/main.java:6: error: class, interface, or enum expected
svoid tok_defaultArguments(LS tok) {
^
/root/JavaX-Caches/tmp_1094313372/main.java:8: error: class, interface, or enum expected
while ((i = jfind(tok, " default", tokCondition {
^
/root/JavaX-Caches/tmp_1094313372/main.java:11: error: class, interface, or enum expected
})) >= 0) {
^
/root/JavaX-Caches/tmp_1094313372/main.java:13: error: class, interface, or enum expected
int iClosing = findEndOfBracketPart2(tok, iOpening)-1;
^
/root/JavaX-Caches/tmp_1094313372/main.java:17: error: class, interface, or enum expected
int iName = iOpening-2;
^
/root/JavaX-Caches/tmp_1094313372/main.java:18: error: class, interface, or enum expected
S name = assertIdentifier(get(tok, iName));
^
/root/JavaX-Caches/tmp_1094313372/main.java:20: error: class, interface, or enum expected
int iType = tok_leftScanType(tok, iName);
^
/root/JavaX-Caches/tmp_1094313372/main.java:21: error: class, interface, or enum expected
int iStart = tok_leftScanTypeArgsOpt(tok, iType);
^
/root/JavaX-Caches/tmp_1094313372/main.java:22: error: class, interface, or enum expected
iStart = leftScanModifiers(tok, iStart);
^
/root/JavaX-Caches/tmp_1094313372/main.java:24: error: class, interface, or enum expected
int iEndOfExpr = tok_findEndOfExpression(tok, i+4)+1; // should point at comma or closing bracket
^
/root/JavaX-Caches/tmp_1094313372/main.java:25: error: class, interface, or enum expected
S expr = joinSubList(tok, i+4, iEndOfExpr);
^
/root/JavaX-Caches/tmp_1094313372/main.java:26: error: class, interface, or enum expected
int iParamTypeStart = tok_leftScanType(tok, i);
^
/root/JavaX-Caches/tmp_1094313372/main.java:27: error: class, interface, or enum expected
LS _args1 = subList(tok, iOpening+1, iParamTypeStart);
^
/root/JavaX-Caches/tmp_1094313372/main.java:28: error: class, interface, or enum expected
LS _args2 = subList(tok, iEndOfExpr+1, iClosing+2);
^
/root/JavaX-Caches/tmp_1094313372/main.java:29: error: class, interface, or enum expected
LS args1 = tok_parseArgsDeclList2(_args1);
^
/root/JavaX-Caches/tmp_1094313372/main.java:30: error: class, interface, or enum expected
LS args2 = tok_parseArgsDeclList2(_args2);
^
/root/JavaX-Caches/tmp_1094313372/main.java:31: error: class, interface, or enum expected
LS type = subList(tok, iType-1, iName);
^
/root/JavaX-Caches/tmp_1094313372/main.java:32: error: class, interface, or enum expected
bool isVoid = containsOneOf(codeTokens(type), javaxVoidAliases());
^
/root/JavaX-Caches/tmp_1094313372/main.java:33: error: class, interface, or enum expected
if (eq(expr, "new")) expr = "new " + joinSubList(tok, iParamTypeStart, i-1) + "()";
^
/root/JavaX-Caches/tmp_1094313372/main.java:34: error: class, interface, or enum expected
S rewrittenHead = joinSubList(tok, iStart, iOpening+1)
^
/root/JavaX-Caches/tmp_1094313372/main.java:37: error: class, interface, or enum expected
if (tok_defaultArguments_debug)
^
/root/JavaX-Caches/tmp_1094313372/main.java:40: error: class, interface, or enum expected
clearTokens_reTok(tok, i+1, iEndOfExpr-1);
^
/root/JavaX-Caches/tmp_1094313372/main.java:41: error: class, interface, or enum expected
tokPrepend_reTok(tok, iStart, rewrittenHead + " { "
^
/root/JavaX-Caches/tmp_1094313372/main.java:47: error: class, interface, or enum expected
}
^
25 errors