Wrote /root/JavaX-Caches/tmp_323696512/main.java - 1570 bytes (written=1570, should be 1570)
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_1838163346 /root/JavaX-Caches/tmp_323696512/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_323696512/main.java:2: error: class, interface, or enum expected
persistable sclass SimpleCircularBuffer is Iterable, IntSize {
^
/root/JavaX-Caches/tmp_323696512/main.java:4: error: class, interface, or enum expected
long base; // elements dropped due to overcapacity
^
/root/JavaX-Caches/tmp_323696512/main.java:5: error: class, interface, or enum expected
int size; // elements actually contained
^
/root/JavaX-Caches/tmp_323696512/main.java:7: error: class, interface, or enum expected
*(int capacity) {
^
/root/JavaX-Caches/tmp_323696512/main.java:9: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:14: error: class, interface, or enum expected
++base;
^
/root/JavaX-Caches/tmp_323696512/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:17: error: class, interface, or enum expected
++size;
^
/root/JavaX-Caches/tmp_323696512/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:22: error: class, interface, or enum expected
ret buffer[(int) (pos % buffer.length)];
^
/root/JavaX-Caches/tmp_323696512/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:29: error: class, interface, or enum expected
public synchronized int size() {
^
/root/JavaX-Caches/tmp_323696512/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:33: error: class, interface, or enum expected
public Iterator iterator() {
^
/root/JavaX-Caches/tmp_323696512/main.java:36: error: class, interface, or enum expected
public bool hasNext() { ret i < size(); }
^
/root/JavaX-Caches/tmp_323696512/main.java:36: error: class, interface, or enum expected
public bool hasNext() { ret i < size(); }
^
/root/JavaX-Caches/tmp_323696512/main.java:37: error: class, interface, or enum expected
public A next() { ret get(base + (i++)); }
^
/root/JavaX-Caches/tmp_323696512/main.java:37: error: class, interface, or enum expected
public A next() { ret get(base + (i++)); }
^
/root/JavaX-Caches/tmp_323696512/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:49: error: class, interface, or enum expected
public bool isEmpty() {
^
/root/JavaX-Caches/tmp_323696512/main.java:51: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:60: error: class, interface, or enum expected
A a = get(base);
^
/root/JavaX-Caches/tmp_323696512/main.java:61: error: class, interface, or enum expected
--size;
^
/root/JavaX-Caches/tmp_323696512/main.java:62: error: class, interface, or enum expected
++base;
^
/root/JavaX-Caches/tmp_323696512/main.java:63: error: class, interface, or enum expected
ret a;
^
/root/JavaX-Caches/tmp_323696512/main.java:64: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_323696512/main.java:66: error: class, interface, or enum expected
synchronized A nextToLast() { ret get(base+size-2); }
^
/root/JavaX-Caches/tmp_323696512/main.java:67: error: class, interface, or enum expected
synchronized A last() { ret get(base+size-1); }
^
/root/JavaX-Caches/tmp_323696512/main.java:68: error: class, interface, or enum expected
synchronized A first() { ret get(base); }
^
/root/JavaX-Caches/tmp_323696512/main.java:72: error: class, interface, or enum expected
}
^
34 errors