Wrote /root/JavaX-Caches/tmp_815866060/main.java - 1858 bytes (written=1858, should be 1858)
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_1132593256 /root/JavaX-Caches/tmp_815866060/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_815866060/main.java:1: error: class, interface, or enum expected
static A last(L l) {
^
/root/JavaX-Caches/tmp_815866060/main.java:3: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:7: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:25: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:29: error: class, interface, or enum expected
while ping (it.hasNext()) a = it.next();
^
/root/JavaX-Caches/tmp_815866060/main.java:30: error: class, interface, or enum expected
ret a;
^
/root/JavaX-Caches/tmp_815866060/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:35: error: class, interface, or enum expected
if (l cast L) ret (A) last(l);
^
/root/JavaX-Caches/tmp_815866060/main.java:36: error: class, interface, or enum expected
if (l cast SortedSet) ret (A) last(l);
^
/root/JavaX-Caches/tmp_815866060/main.java:37: error: class, interface, or enum expected
Iterator it = iterator(l);
^
/root/JavaX-Caches/tmp_815866060/main.java:38: error: class, interface, or enum expected
A a = null;
^
/root/JavaX-Caches/tmp_815866060/main.java:39: error: class, interface, or enum expected
while ping (it.hasNext()) a = it.next();
^
/root/JavaX-Caches/tmp_815866060/main.java:40: error: class, interface, or enum expected
ret a;
^
/root/JavaX-Caches/tmp_815866060/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:86: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:92: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:98: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_815866060/main.java:104: error: class, interface, or enum expected
}
^
28 errors