Wrote /root/JavaX-Caches/tmp_914596788/main.java - 3127 bytes (written=3127, should be 3127)
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_1482737019 /root/JavaX-Caches/tmp_914596788/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_914596788/main.java:1: error: class, interface, or enum expected
sclass ByteBuffer implements Iterable {
^
/root/JavaX-Caches/tmp_914596788/main.java:3: error: class, interface, or enum expected
int size;
^
/root/JavaX-Caches/tmp_914596788/main.java:5: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_914596788/main.java:6: error: class, interface, or enum expected
*(int size) { if (size != 0) data = new byte[size]; }
^
/root/JavaX-Caches/tmp_914596788/main.java:9: error: class, interface, or enum expected
addAll(l);
^
/root/JavaX-Caches/tmp_914596788/main.java:10: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:11: error: class, interface, or enum expected
*(byte[] data) { this.data = data; size = l(data); }
^
/root/JavaX-Caches/tmp_914596788/main.java:11: error: class, interface, or enum expected
*(byte[] data) { this.data = data; size = l(data); }
^
/root/JavaX-Caches/tmp_914596788/main.java:16: error: class, interface, or enum expected
arraycopy(data, idx, data, idx+1, size-(idx+1));
^
/root/JavaX-Caches/tmp_914596788/main.java:17: error: class, interface, or enum expected
data[idx] = (byte) i;
^
/root/JavaX-Caches/tmp_914596788/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:20: error: class, interface, or enum expected
void add(int i) { add((byte) i); }
^
/root/JavaX-Caches/tmp_914596788/main.java:25: error: class, interface, or enum expected
if (size >= data.length) fail("ByteBuffer too large: " + size);
^
/root/JavaX-Caches/tmp_914596788/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:48: error: class, interface, or enum expected
public int size() { ret size; }
^
/root/JavaX-Caches/tmp_914596788/main.java:48: error: class, interface, or enum expected
public int size() { ret size; }
^
/root/JavaX-Caches/tmp_914596788/main.java:49: error: class, interface, or enum expected
public Byte get(int i) { ret ByteBuffer.this.get(i); }
^
/root/JavaX-Caches/tmp_914596788/main.java:49: error: class, interface, or enum expected
public Byte get(int i) { ret ByteBuffer.this.get(i); }
^
/root/JavaX-Caches/tmp_914596788/main.java:50: error: class, interface, or enum expected
public Byte set(int i, Byte val) {
^
/root/JavaX-Caches/tmp_914596788/main.java:52: error: class, interface, or enum expected
data[i] = val;
^
/root/JavaX-Caches/tmp_914596788/main.java:53: error: class, interface, or enum expected
ret a;
^
/root/JavaX-Caches/tmp_914596788/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:58: error: class, interface, or enum expected
void reset { size = 0; }
^
/root/JavaX-Caches/tmp_914596788/main.java:59: error: class, interface, or enum expected
void clear { reset(); }
^
/root/JavaX-Caches/tmp_914596788/main.java:61: error: class, interface, or enum expected
int size() { ret size; }
^
/root/JavaX-Caches/tmp_914596788/main.java:62: error: class, interface, or enum expected
bool isEmpty() { ret size == 0; }
^
/root/JavaX-Caches/tmp_914596788/main.java:66: error: class, interface, or enum expected
ret data[idx];
^
/root/JavaX-Caches/tmp_914596788/main.java:67: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:71: error: class, interface, or enum expected
data[idx] = value;
^
/root/JavaX-Caches/tmp_914596788/main.java:72: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:76: error: class, interface, or enum expected
ret data[--size];
^
/root/JavaX-Caches/tmp_914596788/main.java:77: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:82: error: class, interface, or enum expected
byte b = data[0];
^
/root/JavaX-Caches/tmp_914596788/main.java:83: error: class, interface, or enum expected
arraycopy(data, 1, 0, --size);
^
/root/JavaX-Caches/tmp_914596788/main.java:84: error: class, interface, or enum expected
ret b;
^
/root/JavaX-Caches/tmp_914596788/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:87: error: class, interface, or enum expected
byte last() { ret data[size-1]; }
^
/root/JavaX-Caches/tmp_914596788/main.java:88: error: class, interface, or enum expected
byte nextToLast() { ret data[size-2]; }
^
/root/JavaX-Caches/tmp_914596788/main.java:90: error: class, interface, or enum expected
toString { ret squareBracket(joinWithSpace(toList())); }
^
/root/JavaX-Caches/tmp_914596788/main.java:92: error: class, interface, or enum expected
public Iterator iterator() {
^
/root/JavaX-Caches/tmp_914596788/main.java:96: error: class, interface, or enum expected
public bool hasNext() { ret i < size; }
^
/root/JavaX-Caches/tmp_914596788/main.java:96: error: class, interface, or enum expected
public bool hasNext() { ret i < size; }
^
/root/JavaX-Caches/tmp_914596788/main.java:97: error: class, interface, or enum expected
public Byte next() {
^
/root/JavaX-Caches/tmp_914596788/main.java:100: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:102: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:119: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:125: error: class, interface, or enum expected
ret -1;
^
/root/JavaX-Caches/tmp_914596788/main.java:126: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_914596788/main.java:130: error: class, interface, or enum expected
}
^
55 errors