Wrote /root/JavaX-Caches/tmp_535079575/main.java - 3684 bytes (written=3684, should be 3684) 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_759950839 /root/JavaX-Caches/tmp_535079575/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_535079575/main.java:1: error: class, interface, or enum expected persistable sclass SynchronizedLongBufferStoredAsLinearInts is ILongBuffer { ^ /root/JavaX-Caches/tmp_535079575/main.java:3: error: class, interface, or enum expected int size; ^ /root/JavaX-Caches/tmp_535079575/main.java:6: error: class, interface, or enum expected long base, factor; ^ /root/JavaX-Caches/tmp_535079575/main.java:8: error: class, interface, or enum expected *(long *base, long *factor) {} ^ /root/JavaX-Caches/tmp_535079575/main.java:9: error: class, interface, or enum expected *(long *base, long *factor, int size) { if (size != 0) data = new int[size]; } ^ /root/JavaX-Caches/tmp_535079575/main.java:12: error: class, interface, or enum expected addAll(l); ^ /root/JavaX-Caches/tmp_535079575/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:15: error: class, interface, or enum expected public synchronized void addRaw(int i) { ^ /root/JavaX-Caches/tmp_535079575/main.java:18: error: class, interface, or enum expected if (size >= data.length) fail(shortClassName(this) + " too large: " + size); ^ /root/JavaX-Caches/tmp_535079575/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:23: error: class, interface, or enum expected public synchronized void add(long i) { ^ /root/JavaX-Caches/tmp_535079575/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:31: error: class, interface, or enum expected public synchronized void addAll(Iterable<Long> l) { ^ /root/JavaX-Caches/tmp_535079575/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:35: error: class, interface, or enum expected public synchronized long[] toArray() { ^ /root/JavaX-Caches/tmp_535079575/main.java:37: error: class, interface, or enum expected long[] out = new[size]; ^ /root/JavaX-Caches/tmp_535079575/main.java:38: error: class, interface, or enum expected for i to size: ^ /root/JavaX-Caches/tmp_535079575/main.java:40: error: class, interface, or enum expected ret out; ^ /root/JavaX-Caches/tmp_535079575/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:47: error: class, interface, or enum expected public synchronized L<Long> asVirtualList() { ^ /root/JavaX-Caches/tmp_535079575/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:51: error: class, interface, or enum expected synchronized void reset { size = 0; } ^ /root/JavaX-Caches/tmp_535079575/main.java:52: error: class, interface, or enum expected void clear { reset(); } ^ /root/JavaX-Caches/tmp_535079575/main.java:54: error: class, interface, or enum expected synchronized public int size() { ret size; } ^ /root/JavaX-Caches/tmp_535079575/main.java:54: error: class, interface, or enum expected synchronized public int size() { ret size; } ^ /root/JavaX-Caches/tmp_535079575/main.java:55: error: class, interface, or enum expected public synchronized bool isEmpty() { ret size == 0; } ^ /root/JavaX-Caches/tmp_535079575/main.java:55: error: class, interface, or enum expected public synchronized bool isEmpty() { ret size == 0; } ^ /root/JavaX-Caches/tmp_535079575/main.java:57: error: class, interface, or enum expected public synchronized int getRaw(int idx) { ^ /root/JavaX-Caches/tmp_535079575/main.java:59: error: class, interface, or enum expected ret data[idx]; ^ /root/JavaX-Caches/tmp_535079575/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:62: error: class, interface, or enum expected public synchronized long get(int idx) { ^ /root/JavaX-Caches/tmp_535079575/main.java:64: error: class, interface, or enum expected ret expand(data[idx]); ^ /root/JavaX-Caches/tmp_535079575/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:69: error: class, interface, or enum expected data[idx] = compress(value); ^ /root/JavaX-Caches/tmp_535079575/main.java:70: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:72: error: class, interface, or enum expected public synchronized long popLast() { ^ /root/JavaX-Caches/tmp_535079575/main.java:74: error: class, interface, or enum expected ret expand(data[--size]); ^ /root/JavaX-Caches/tmp_535079575/main.java:75: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:77: error: class, interface, or enum expected public synchronized long last() { ret expand(data[size-1]); } ^ /root/JavaX-Caches/tmp_535079575/main.java:77: error: class, interface, or enum expected public synchronized long last() { ret expand(data[size-1]); } ^ /root/JavaX-Caches/tmp_535079575/main.java:78: error: class, interface, or enum expected synchronized long nextToLast() { ret expand(data[size-2]); } ^ /root/JavaX-Caches/tmp_535079575/main.java:80: error: class, interface, or enum expected toString { ret squareBracket(joinWithSpace(asVirtualList())); } ^ /root/JavaX-Caches/tmp_535079575/main.java:82: error: class, interface, or enum expected public synchronized Iterator<Long> iterator() { ^ /root/JavaX-Caches/tmp_535079575/main.java:86: error: class, interface, or enum expected public bool hasNext() { ret i < size(); } ^ /root/JavaX-Caches/tmp_535079575/main.java:86: error: class, interface, or enum expected public bool hasNext() { ret i < size(); } ^ /root/JavaX-Caches/tmp_535079575/main.java:87: error: class, interface, or enum expected public Long next() { ^ /root/JavaX-Caches/tmp_535079575/main.java:90: error: class, interface, or enum expected ret expand(data[i++]); ^ /root/JavaX-Caches/tmp_535079575/main.java:91: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:96: error: class, interface, or enum expected public synchronized void trimToSize { ^ /root/JavaX-Caches/tmp_535079575/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:102: error: class, interface, or enum expected --size; ^ /root/JavaX-Caches/tmp_535079575/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:106: error: class, interface, or enum expected public synchronized long poll() { ^ /root/JavaX-Caches/tmp_535079575/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:110: error: class, interface, or enum expected long expand(int value) { ret base+value*factor; } ^ /root/JavaX-Caches/tmp_535079575/main.java:111: error: class, interface, or enum expected int compress(long value) { ret toInt(ldiv_round(value-base, factor); } ^ /root/JavaX-Caches/tmp_535079575/main.java:113: error: class, interface, or enum expected public synchronized void insertAt(int idx, long[] l) { ^ /root/JavaX-Caches/tmp_535079575/main.java:115: error: class, interface, or enum expected if (n == 0) ret; ^ /root/JavaX-Caches/tmp_535079575/main.java:116: error: class, interface, or enum expected int[] newData = new[size+n]; ^ /root/JavaX-Caches/tmp_535079575/main.java:117: error: class, interface, or enum expected arraycopy(data, 0, newData, 0, idx); ^ /root/JavaX-Caches/tmp_535079575/main.java:118: error: class, interface, or enum expected for i to n: ^ /root/JavaX-Caches/tmp_535079575/main.java:120: error: class, interface, or enum expected arraycopy(data, idx, newData, idx+n, size-idx); ^ /root/JavaX-Caches/tmp_535079575/main.java:121: error: class, interface, or enum expected data = newData; ^ /root/JavaX-Caches/tmp_535079575/main.java:122: error: class, interface, or enum expected size = newData.length; ^ /root/JavaX-Caches/tmp_535079575/main.java:123: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_535079575/main.java:125: error: class, interface, or enum expected public void integrityCheck { ^ /root/JavaX-Caches/tmp_535079575/main.java:127: error: class, interface, or enum expected assertTrue("Data length", l(data) >= size); ^ /root/JavaX-Caches/tmp_535079575/main.java:128: error: class, interface, or enum expected } ^ 71 errors