Wrote /root/JavaX-Caches/tmp_541893725/main.java - 3002 bytes (written=3002, should be 3002)
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_1436889963 /root/JavaX-Caches/tmp_541893725/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_541893725/main.java:1: error: class, interface, or enum expected
sclass SortedStringMap_managed extends AbstractManagedObject {
^
/root/JavaX-Caches/tmp_541893725/main.java:5: error: class, interface, or enum expected
int physicalLength; // total array length is twice this. data is: String *key, String *value, ...
^
/root/JavaX-Caches/tmp_541893725/main.java:6: error: class, interface, or enum expected
int size; // our actual length
^
/root/JavaX-Caches/tmp_541893725/main.java:13: error: illegal start of type
*(int *index) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:13: error: expected
*(int *index) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:13: error: expected
*(int *index) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:14: error: illegal start of type
*(int *index, S *value) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:14: error: expected
*(int *index, S *value) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:14: error: expected
*(int *index, S *value) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:14: error: ';' expected
*(int *index, S *value) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:14: error: expected
*(int *index, S *value) {}
^
/root/JavaX-Caches/tmp_541893725/main.java:23: error: class, interface, or enum expected
int size() { ret l(map); }
^
/root/JavaX-Caches/tmp_541893725/main.java:23: error: class, interface, or enum expected
int size() { ret l(map); }
^
/root/JavaX-Caches/tmp_541893725/main.java:25: error: class, interface, or enum expected
int arrayStart() { ret addr+2; }
^
/root/JavaX-Caches/tmp_541893725/main.java:26: error: class, interface, or enum expected
int keyAddr(int i) { ret arrayStart()+i*2; }
^
/root/JavaX-Caches/tmp_541893725/main.java:27: error: class, interface, or enum expected
int valueAddr(int i) { ret arrayStart()+i*2+1; }
^
/root/JavaX-Caches/tmp_541893725/main.java:32: error: class, interface, or enum expected
size = mem.get(addr+1);
^
/root/JavaX-Caches/tmp_541893725/main.java:33: error: class, interface, or enum expected
for i to size:
^
/root/JavaX-Caches/tmp_541893725/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:39: error: class, interface, or enum expected
if (initialData instanceof TreeMap) {
^
/root/JavaX-Caches/tmp_541893725/main.java:41: error: class, interface, or enum expected
sorted = initialData;
^
/root/JavaX-Caches/tmp_541893725/main.java:42: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_541893725/main.java:45: error: class, interface, or enum expected
physicalLength = l(sorted);
^
/root/JavaX-Caches/tmp_541893725/main.java:46: error: class, interface, or enum expected
alloc(objectSize());
^
/root/JavaX-Caches/tmp_541893725/main.java:47: error: class, interface, or enum expected
mem.set(addr, physicalLength);
^
/root/JavaX-Caches/tmp_541893725/main.java:49: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_541893725/main.java:50: error: class, interface, or enum expected
for (S key, S value : sorted)
^
/root/JavaX-Caches/tmp_541893725/main.java:53: error: class, interface, or enum expected
flush();
^
/root/JavaX-Caches/tmp_541893725/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:58: error: class, interface, or enum expected
mem.set(addr+1, size());
^
/root/JavaX-Caches/tmp_541893725/main.java:59: error: class, interface, or enum expected
int i = 0;
^
/root/JavaX-Caches/tmp_541893725/main.java:60: error: class, interface, or enum expected
for (S key, Entry entry : map) {
^
/root/JavaX-Caches/tmp_541893725/main.java:62: error: class, interface, or enum expected
if (!eq(mem.readString(keyPtr), key)) {
^
/root/JavaX-Caches/tmp_541893725/main.java:64: error: class, interface, or enum expected
mem.set(keyAddr(i), mem.newString(key));
^
/root/JavaX-Caches/tmp_541893725/main.java:65: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:68: error: class, interface, or enum expected
if (entry.index != i
^
/root/JavaX-Caches/tmp_541893725/main.java:72: error: class, interface, or enum expected
mem.set(valueAddr(i), mem.newString(key));
^
/root/JavaX-Caches/tmp_541893725/main.java:73: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:84: error: class, interface, or enum expected
int newCapacity = oldCapacity + (oldCapacity >> 1);
^
/root/JavaX-Caches/tmp_541893725/main.java:85: error: class, interface, or enum expected
if (newCapacity - minCapacity < 0)
^
/root/JavaX-Caches/tmp_541893725/main.java:87: error: class, interface, or enum expected
long oldAddr = addr, oldSize = objectSize();
^
/root/JavaX-Caches/tmp_541893725/main.java:88: error: class, interface, or enum expected
physicalLength = newCapacity;
^
/root/JavaX-Caches/tmp_541893725/main.java:89: error: class, interface, or enum expected
setAddr(mem.alloc(objectSize()));
^
/root/JavaX-Caches/tmp_541893725/main.java:90: error: class, interface, or enum expected
for (int i = 1; i < oldSize; i++)
^
/root/JavaX-Caches/tmp_541893725/main.java:90: error: class, interface, or enum expected
for (int i = 1; i < oldSize; i++)
^
/root/JavaX-Caches/tmp_541893725/main.java:90: error: class, interface, or enum expected
for (int i = 1; i < oldSize; i++)
^
/root/JavaX-Caches/tmp_541893725/main.java:92: error: class, interface, or enum expected
mem.free(oldAddr, oldSize);
^
/root/JavaX-Caches/tmp_541893725/main.java:93: error: class, interface, or enum expected
mem.set(addr, physicalLength);
^
/root/JavaX-Caches/tmp_541893725/main.java:94: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:97: error: class, interface, or enum expected
public void scanForCollection(IManagedObjectCollector gc) {
^
/root/JavaX-Caches/tmp_541893725/main.java:99: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_541893725/main.java:101: error: class, interface, or enum expected
int objectSize() { ret 2+physicalLength*2; }
^
54 errors