Wrote /root/JavaX-Caches/tmp_1555313/main.java - 1643 bytes (written=1643, should be 1643)
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_842907591 /root/JavaX-Caches/tmp_1555313/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1555313/main.java:1: error: class, interface, or enum expected
static Object clone(Object o) {
^
/root/JavaX-Caches/tmp_1555313/main.java:3: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1555313/main.java:9: error: class, interface, or enum expected
Object y = seen.get(o);
^
/root/JavaX-Caches/tmp_1555313/main.java:10: error: class, interface, or enum expected
if (y != null) return y;
^
/root/JavaX-Caches/tmp_1555313/main.java:12: error: class, interface, or enum expected
if (o instanceof List) {
^
/root/JavaX-Caches/tmp_1555313/main.java:14: error: class, interface, or enum expected
List l = new ArrayList();
^
/root/JavaX-Caches/tmp_1555313/main.java:15: error: class, interface, or enum expected
seen.put(o, l);
^
/root/JavaX-Caches/tmp_1555313/main.java:16: error: class, interface, or enum expected
for (Object x : (List) o)
^
/root/JavaX-Caches/tmp_1555313/main.java:18: error: class, interface, or enum expected
return l;
^
/root/JavaX-Caches/tmp_1555313/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1555313/main.java:23: error: class, interface, or enum expected
seen.put(o, m);
^
/root/JavaX-Caches/tmp_1555313/main.java:24: error: class, interface, or enum expected
for (O entry : ((Map) o).entrySet()) {
^
/root/JavaX-Caches/tmp_1555313/main.java:26: error: class, interface, or enum expected
m.put(clone(e.getKey(), seen), clone(e.getValue(), seen));
^
/root/JavaX-Caches/tmp_1555313/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1555313/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1555313/main.java:34: error: class, interface, or enum expected
if (o instanceof Object[]) {
^
/root/JavaX-Caches/tmp_1555313/main.java:36: error: class, interface, or enum expected
Object[] l2 = l.clone();
^
/root/JavaX-Caches/tmp_1555313/main.java:37: error: class, interface, or enum expected
seen.put(o, l2);
^
/root/JavaX-Caches/tmp_1555313/main.java:38: error: class, interface, or enum expected
for (int i = 0; i < l.length; i++)
^
/root/JavaX-Caches/tmp_1555313/main.java:38: error: class, interface, or enum expected
for (int i = 0; i < l.length; i++)
^
/root/JavaX-Caches/tmp_1555313/main.java:38: error: class, interface, or enum expected
for (int i = 0; i < l.length; i++)
^
/root/JavaX-Caches/tmp_1555313/main.java:40: error: class, interface, or enum expected
return l2;
^
/root/JavaX-Caches/tmp_1555313/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1555313/main.java:47: error: class, interface, or enum expected
Object clone = o.getClass().newInstance();
^
/root/JavaX-Caches/tmp_1555313/main.java:48: error: class, interface, or enum expected
seen.put(o, clone);
^
/root/JavaX-Caches/tmp_1555313/main.java:49: error: class, interface, or enum expected
Class c = o.getClass();
^
/root/JavaX-Caches/tmp_1555313/main.java:50: error: class, interface, or enum expected
while (c != Object.class) {
^
/root/JavaX-Caches/tmp_1555313/main.java:50: error: expected
while (c != Object.class) {
^
/root/JavaX-Caches/tmp_1555313/main.java:52: error: illegal start of type
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_1555313/main.java:52: error: ';' expected
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_1555313/main.java:52: error: expected
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_1555313/main.java:60: error: expected
c = c.getSuperclass();
^
/root/JavaX-Caches/tmp_1555313/main.java:62: error: class, interface, or enum expected
return clone;
^
/root/JavaX-Caches/tmp_1555313/main.java:63: error: class, interface, or enum expected
}
^
34 errors