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

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

/root/JavaX-Caches/tmp_1593121286/main.java:1: error: class, interface, or enum expected sclass DoubleBuffer is Iterable<Double>, IntSize { ^ /root/JavaX-Caches/tmp_1593121286/main.java:3: error: class, interface, or enum expected int size; ^ /root/JavaX-Caches/tmp_1593121286/main.java:5: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1593121286/main.java:6: error: class, interface, or enum expected *(int size) { if (size != 0) data = new double[size]; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:7: error: class, interface, or enum expected *(Iterable<Double> l) { addAll(l); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:8: error: class, interface, or enum expected *(Cl<Double> l) { this(l(l)); addAll(l); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:8: error: class, interface, or enum expected *(Cl<Double> l) { this(l(l)); addAll(l); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:9: error: class, interface, or enum expected *(double... data) { this.data = data; size = l(data); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:9: error: class, interface, or enum expected *(double... data) { this.data = data; size = l(data); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:14: error: class, interface, or enum expected if (size >= data.length) fail("DoubleBuffer too large: " + size); ^ /root/JavaX-Caches/tmp_1593121286/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:37: error: class, interface, or enum expected public int size() { ret size; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:37: error: class, interface, or enum expected public int size() { ret size; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:38: error: class, interface, or enum expected public Double get(int i) { ret DoubleBuffer.this.get(i); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:38: error: class, interface, or enum expected public Double get(int i) { ret DoubleBuffer.this.get(i); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:39: error: class, interface, or enum expected public Double set(int i, Double val) { ^ /root/JavaX-Caches/tmp_1593121286/main.java:41: error: class, interface, or enum expected data[i] = val; ^ /root/JavaX-Caches/tmp_1593121286/main.java:42: error: class, interface, or enum expected ret a; ^ /root/JavaX-Caches/tmp_1593121286/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:47: error: class, interface, or enum expected void reset { size = 0; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:48: error: class, interface, or enum expected void clear { reset(); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:50: error: class, interface, or enum expected public int size() { ret size; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:50: error: class, interface, or enum expected public int size() { ret size; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:54: error: class, interface, or enum expected ret data[idx]; ^ /root/JavaX-Caches/tmp_1593121286/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:59: error: class, interface, or enum expected data[idx] = value; ^ /root/JavaX-Caches/tmp_1593121286/main.java:60: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:64: error: class, interface, or enum expected ret data[--size]; ^ /root/JavaX-Caches/tmp_1593121286/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:67: error: class, interface, or enum expected double last() { ret data[size-1]; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:68: error: class, interface, or enum expected double nextToLast() { ret data[size-2]; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:70: error: class, interface, or enum expected toString { ret squareBracket(joinWithSpace(toList())); } ^ /root/JavaX-Caches/tmp_1593121286/main.java:72: error: class, interface, or enum expected public Iterator<Double> iterator() { ^ /root/JavaX-Caches/tmp_1593121286/main.java:76: error: class, interface, or enum expected public bool hasNext() { ret i < size; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:76: error: class, interface, or enum expected public bool hasNext() { ret i < size; } ^ /root/JavaX-Caches/tmp_1593121286/main.java:77: error: class, interface, or enum expected public Double next() { ^ /root/JavaX-Caches/tmp_1593121286/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:105: error: class, interface, or enum expected ret -1; ^ /root/JavaX-Caches/tmp_1593121286/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1593121286/main.java:110: error: class, interface, or enum expected } ^ 48 errors