Wrote /root/JavaX-Caches/tmp_1261847354/main.java - 2644 bytes (written=2644, should be 2644)
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_585857502 /root/JavaX-Caches/tmp_1261847354/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1261847354/main.java:2: error: class, interface, or enum expected
sclass ArrayTreeMap extends AbstractMap {
^
/root/JavaX-Caches/tmp_1261847354/main.java:4: error: class, interface, or enum expected
int size;
^
/root/JavaX-Caches/tmp_1261847354/main.java:6: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1261847354/main.java:9: error: class, interface, or enum expected
fill(sorted(keys(map)), map, 0, l(array)/2, 0);
^
/root/JavaX-Caches/tmp_1261847354/main.java:10: error: class, interface, or enum expected
size = l(map);
^
/root/JavaX-Caches/tmp_1261847354/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:13: error: class, interface, or enum expected
public int size() { ret size; }
^
/root/JavaX-Caches/tmp_1261847354/main.java:13: error: class, interface, or enum expected
public int size() { ret size; }
^
/root/JavaX-Caches/tmp_1261847354/main.java:15: error: class, interface, or enum expected
public Set> entrySet() {
^
/root/JavaX-Caches/tmp_1261847354/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:23: error: class, interface, or enum expected
int check(int i) { ret inRange(i) ? i : -1; }
^
/root/JavaX-Caches/tmp_1261847354/main.java:25: error: class, interface, or enum expected
int parent(int i) { ret check(i == 0 ? -1 : ((i-2)/2) & ~1); }
^
/root/JavaX-Caches/tmp_1261847354/main.java:26: error: class, interface, or enum expected
int left(int i) { ret check(i*2+2); }
^
/root/JavaX-Caches/tmp_1261847354/main.java:27: error: class, interface, or enum expected
int right(int i) { ret check(i*2+4); }
^
/root/JavaX-Caches/tmp_1261847354/main.java:31: error: class, interface, or enum expected
int p = 0;
^
/root/JavaX-Caches/tmp_1261847354/main.java:32: error: class, interface, or enum expected
while (left(p) >= 0)
^
/root/JavaX-Caches/tmp_1261847354/main.java:34: error: class, interface, or enum expected
ret p;
^
/root/JavaX-Caches/tmp_1261847354/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:39: error: class, interface, or enum expected
if (right(t) >= 0) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:41: error: class, interface, or enum expected
while (left(p) >= 0)
^
/root/JavaX-Caches/tmp_1261847354/main.java:43: error: class, interface, or enum expected
ret p;
^
/root/JavaX-Caches/tmp_1261847354/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:46: error: class, interface, or enum expected
int ch = t;
^
/root/JavaX-Caches/tmp_1261847354/main.java:47: error: class, interface, or enum expected
while (p >= 0 && ch == right(p)) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:49: error: class, interface, or enum expected
p = parent(p);
^
/root/JavaX-Caches/tmp_1261847354/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:56: error: class, interface, or enum expected
int middle = (lIdx1+lIdx2)/2;
^
/root/JavaX-Caches/tmp_1261847354/main.java:57: error: class, interface, or enum expected
A key = _get(l, middle);
^
/root/JavaX-Caches/tmp_1261847354/main.java:58: error: class, interface, or enum expected
array[aIdx*2] = key;
^
/root/JavaX-Caches/tmp_1261847354/main.java:59: error: class, interface, or enum expected
array[aIdx*2+1] = map.get(key);
^
/root/JavaX-Caches/tmp_1261847354/main.java:60: error: class, interface, or enum expected
fill(l, map, lIdx1, middle, aIdx*2+1);
^
/root/JavaX-Caches/tmp_1261847354/main.java:61: error: class, interface, or enum expected
fill(l, map, middle+1, lIdx2, aIdx*2+2);
^
/root/JavaX-Caches/tmp_1261847354/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:66: error: class, interface, or enum expected
while (i < l(array)) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:68: error: class, interface, or enum expected
if (x == 0) ret i;
^
/root/JavaX-Caches/tmp_1261847354/main.java:69: error: class, interface, or enum expected
i = i*2+(x > 0 ? 4 : 2);
^
/root/JavaX-Caches/tmp_1261847354/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:72: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:74: error: class, interface, or enum expected
public bool containsKey(O a) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:78: error: class, interface, or enum expected
public B get(O a) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:80: error: class, interface, or enum expected
ret i >= 0 ? (B) array[i+1] : null;
^
/root/JavaX-Caches/tmp_1261847354/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1261847354/main.java:85: error: not a statement
ret new EntryIterator(first());
^
/root/JavaX-Caches/tmp_1261847354/main.java:85: error: ';' expected
ret new EntryIterator(first());
^
/root/JavaX-Caches/tmp_1261847354/main.java:89: error: ';' expected
ret ArrayTreeMap.this.size();
^
/root/JavaX-Caches/tmp_1261847354/main.java:96: error: illegal start of type
*(int first) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:96: error: ';' expected
*(int first) {
^
/root/JavaX-Caches/tmp_1261847354/main.java:101: error: ';' expected
ret next >= 0;
^
/root/JavaX-Caches/tmp_1261847354/main.java:107: error: '(' or '[' expected
throw new NoSuchElementException;
^
/root/JavaX-Caches/tmp_1261847354/main.java:114: error: not a statement
ret new SimpleImmutableEntry((A) array[e], (B) array[e+1]);
^
/root/JavaX-Caches/tmp_1261847354/main.java:114: error: ';' expected
ret new SimpleImmutableEntry((A) array[e], (B) array[e+1]);
^
/root/JavaX-Caches/tmp_1261847354/main.java:117: error: class, interface, or enum expected
}
^
55 errors