Wrote /root/JavaX-Caches/tmp_507297858/main.java - 2171 bytes (written=2171, should be 2171)
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_516033451 /root/JavaX-Caches/tmp_507297858/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_507297858/main.java:1: error: class, interface, or enum expected
sclass LongBuffer implements Iterable, ILongQueue, IntSize {
^
/root/JavaX-Caches/tmp_507297858/main.java:3: error: class, interface, or enum expected
int size;
^
/root/JavaX-Caches/tmp_507297858/main.java:5: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_507297858/main.java:6: error: class, interface, or enum expected
*(int size) { if (size != 0) data = new long[size]; }
^
/root/JavaX-Caches/tmp_507297858/main.java:9: error: class, interface, or enum expected
addAll(l);
^
/root/JavaX-Caches/tmp_507297858/main.java:10: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:12: error: class, interface, or enum expected
public void add(long i) {
^
/root/JavaX-Caches/tmp_507297858/main.java:15: error: class, interface, or enum expected
if (size >= data.length) fail("LongBuffer too large: " + size);
^
/root/JavaX-Caches/tmp_507297858/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:22: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:40: error: class, interface, or enum expected
void reset { size = 0; }
^
/root/JavaX-Caches/tmp_507297858/main.java:41: error: class, interface, or enum expected
void clear { reset(); }
^
/root/JavaX-Caches/tmp_507297858/main.java:43: error: class, interface, or enum expected
public int size() { ret size; }
^
/root/JavaX-Caches/tmp_507297858/main.java:43: error: class, interface, or enum expected
public int size() { ret size; }
^
/root/JavaX-Caches/tmp_507297858/main.java:44: error: class, interface, or enum expected
public bool isEmpty() { ret size == 0; }
^
/root/JavaX-Caches/tmp_507297858/main.java:44: error: class, interface, or enum expected
public bool isEmpty() { ret size == 0; }
^
/root/JavaX-Caches/tmp_507297858/main.java:48: error: class, interface, or enum expected
ret data[idx];
^
/root/JavaX-Caches/tmp_507297858/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:53: error: class, interface, or enum expected
data[idx] = value;
^
/root/JavaX-Caches/tmp_507297858/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:58: error: class, interface, or enum expected
ret data[--size];
^
/root/JavaX-Caches/tmp_507297858/main.java:59: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:61: error: class, interface, or enum expected
long last() { ret data[size-1]; }
^
/root/JavaX-Caches/tmp_507297858/main.java:62: error: class, interface, or enum expected
long nextToLast() { ret data[size-2]; }
^
/root/JavaX-Caches/tmp_507297858/main.java:64: error: class, interface, or enum expected
toString { ret squareBracket(joinWithSpace(toList())); }
^
/root/JavaX-Caches/tmp_507297858/main.java:66: error: class, interface, or enum expected
public Iterator iterator() {
^
/root/JavaX-Caches/tmp_507297858/main.java:70: error: class, interface, or enum expected
public bool hasNext() { ret i < size; }
^
/root/JavaX-Caches/tmp_507297858/main.java:70: error: class, interface, or enum expected
public bool hasNext() { ret i < size; }
^
/root/JavaX-Caches/tmp_507297858/main.java:71: error: class, interface, or enum expected
public Long next() {
^
/root/JavaX-Caches/tmp_507297858/main.java:73: error: class, interface, or enum expected
ret data[i++];
^
/root/JavaX-Caches/tmp_507297858/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:84: error: class, interface, or enum expected
--size;
^
/root/JavaX-Caches/tmp_507297858/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_507297858/main.java:88: error: class, interface, or enum expected
public long poll() {
^
/root/JavaX-Caches/tmp_507297858/main.java:90: error: class, interface, or enum expected
}
^
42 errors