Wrote /root/JavaX-Caches/tmp_1665927581/main.java - 1406 bytes (written=1406, should be 1406)
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_735144451 /root/JavaX-Caches/tmp_1665927581/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1665927581/main.java:1: error: class, interface, or enum expected
sclass BoundedInputStream extends InputStream {
^
/root/JavaX-Caches/tmp_1665927581/main.java:3: error: class, interface, or enum expected
long max, pos;
^
/root/JavaX-Caches/tmp_1665927581/main.java:4: error: class, interface, or enum expected
long mark = -1;
^
/root/JavaX-Caches/tmp_1665927581/main.java:6: error: class, interface, or enum expected
*(InputStream *in, long *max) {}
^
/root/JavaX-Caches/tmp_1665927581/main.java:9: error: class, interface, or enum expected
public int read() throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:11: error: class, interface, or enum expected
int result = in.read();
^
/root/JavaX-Caches/tmp_1665927581/main.java:12: error: class, interface, or enum expected
pos++;
^
/root/JavaX-Caches/tmp_1665927581/main.java:13: error: class, interface, or enum expected
ret result;
^
/root/JavaX-Caches/tmp_1665927581/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:16: error: class, interface, or enum expected
public int read(final byte[] b) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:16: error: class, interface, or enum expected
public int read(final byte[] b) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:20: error: class, interface, or enum expected
public int read(final byte[] b, final int off, final int len) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:20: error: class, interface, or enum expected
public int read(final byte[] b, final int off, final int len) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:20: error: class, interface, or enum expected
public int read(final byte[] b, final int off, final int len) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:20: error: class, interface, or enum expected
public int read(final byte[] b, final int off, final int len) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:22: error: class, interface, or enum expected
long maxRead = max>=0 ? Math.min(len, max-pos) : len;
^
/root/JavaX-Caches/tmp_1665927581/main.java:23: error: class, interface, or enum expected
int bytesRead = in.read(b, off, (int)maxRead);
^
/root/JavaX-Caches/tmp_1665927581/main.java:25: error: class, interface, or enum expected
if (bytesRead < 0) ret -1;
^
/root/JavaX-Caches/tmp_1665927581/main.java:27: error: class, interface, or enum expected
pos+=bytesRead;
^
/root/JavaX-Caches/tmp_1665927581/main.java:28: error: class, interface, or enum expected
return bytesRead;
^
/root/JavaX-Caches/tmp_1665927581/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:31: error: class, interface, or enum expected
public long skip(final long n) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:31: error: class, interface, or enum expected
public long skip(final long n) throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:33: error: class, interface, or enum expected
long skippedBytes = in.skip(toSkip);
^
/root/JavaX-Caches/tmp_1665927581/main.java:34: error: class, interface, or enum expected
pos+=skippedBytes;
^
/root/JavaX-Caches/tmp_1665927581/main.java:35: error: class, interface, or enum expected
return skippedBytes;
^
/root/JavaX-Caches/tmp_1665927581/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:38: error: class, interface, or enum expected
public int available() throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:40: error: class, interface, or enum expected
ret in.available();
^
/root/JavaX-Caches/tmp_1665927581/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:43: error: class, interface, or enum expected
public void close() throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:47: error: class, interface, or enum expected
public synchronized void reset() throws IOException {
^
/root/JavaX-Caches/tmp_1665927581/main.java:49: error: class, interface, or enum expected
pos = mark;
^
/root/JavaX-Caches/tmp_1665927581/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:52: error: class, interface, or enum expected
public synchronized void mark(final int readlimit) {
^
/root/JavaX-Caches/tmp_1665927581/main.java:52: error: class, interface, or enum expected
public synchronized void mark(final int readlimit) {
^
/root/JavaX-Caches/tmp_1665927581/main.java:54: error: class, interface, or enum expected
mark = pos;
^
/root/JavaX-Caches/tmp_1665927581/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1665927581/main.java:57: error: class, interface, or enum expected
public bool markSupported() {
^
/root/JavaX-Caches/tmp_1665927581/main.java:59: error: class, interface, or enum expected
}
^
42 errors