Wrote /root/JavaX-Caches/tmp_1853659109/main.java - 2833 bytes (written=2833, should be 2833)
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_1207573255 /root/JavaX-Caches/tmp_1853659109/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1853659109/main.java:1: error: class, interface, or enum expected
sclass BitHead > ByteHead {
^
/root/JavaX-Caches/tmp_1853659109/main.java:3: error: class, interface, or enum expected
gettable int currentByte;
^
/root/JavaX-Caches/tmp_1853659109/main.java:4: error: class, interface, or enum expected
int eofBits;
^
/root/JavaX-Caches/tmp_1853659109/main.java:5: error: class, interface, or enum expected
int nextByte;
^
/root/JavaX-Caches/tmp_1853659109/main.java:7: error: class, interface, or enum expected
replace SomethingIO with BitIO.
^
/root/JavaX-Caches/tmp_1853659109/main.java:10: error: class, interface, or enum expected
*(InputStream inputStream) { super(inputStream); }
^
/root/JavaX-Caches/tmp_1853659109/main.java:11: error: class, interface, or enum expected
*(OutputStream outputStream) { super(outputStream); }
^
/root/JavaX-Caches/tmp_1853659109/main.java:17: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1853659109/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:24: error: class, interface, or enum expected
else {
^
/root/JavaX-Caches/tmp_1853659109/main.java:26: error: class, interface, or enum expected
super.writeByte(currentByte);
^
/root/JavaX-Caches/tmp_1853659109/main.java:27: error: class, interface, or enum expected
currentByte = i >> (8-align);
^
/root/JavaX-Caches/tmp_1853659109/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:37: error: class, interface, or enum expected
if (align == 7) {
^
/root/JavaX-Caches/tmp_1853659109/main.java:39: error: class, interface, or enum expected
currentByte = align = 0;
^
/root/JavaX-Caches/tmp_1853659109/main.java:40: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1853659109/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:46: error: class, interface, or enum expected
advanceBit();
^
/root/JavaX-Caches/tmp_1853659109/main.java:47: error: class, interface, or enum expected
ret bitSet;
^
/root/JavaX-Caches/tmp_1853659109/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:54: error: class, interface, or enum expected
if (align == 8)
^
/root/JavaX-Caches/tmp_1853659109/main.java:56: error: class, interface, or enum expected
ret (currentByte & (1 << align)) != 0;
^
/root/JavaX-Caches/tmp_1853659109/main.java:57: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:63: error: class, interface, or enum expected
align = 0;
^
/root/JavaX-Caches/tmp_1853659109/main.java:64: error: class, interface, or enum expected
if (currentByte < 0) ret; // EOF
^
/root/JavaX-Caches/tmp_1853659109/main.java:65: error: class, interface, or enum expected
nextByte = read();
^
/root/JavaX-Caches/tmp_1853659109/main.java:66: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1853659109/main.java:68: error: class, interface, or enum expected
if (currentByte >= 0)
^
/root/JavaX-Caches/tmp_1853659109/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:78: error: class, interface, or enum expected
if (align == 7)
^
/root/JavaX-Caches/tmp_1853659109/main.java:80: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_1853659109/main.java:82: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:86: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:90: error: class, interface, or enum expected
if (padWithOnes) currentByte |= 0xFF << align;
^
/root/JavaX-Caches/tmp_1853659109/main.java:91: error: class, interface, or enum expected
super.writeByte(currentByte);
^
/root/JavaX-Caches/tmp_1853659109/main.java:92: error: class, interface, or enum expected
currentByte = align = 0;
^
/root/JavaX-Caches/tmp_1853659109/main.java:93: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:99: error: class, interface, or enum expected
int bitCount = modRange_incl(align(), 1, 8);
^
/root/JavaX-Caches/tmp_1853659109/main.java:100: error: class, interface, or enum expected
completeByte(padWithOnes);
^
/root/JavaX-Caches/tmp_1853659109/main.java:101: error: class, interface, or enum expected
writeByte(bitCount);
^
/root/JavaX-Caches/tmp_1853659109/main.java:102: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:112: error: class, interface, or enum expected
if (readMode())
^
/root/JavaX-Caches/tmp_1853659109/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:116: error: class, interface, or enum expected
void exchangeBit(int i) { exchangeBit(odd(i)); }
^
/root/JavaX-Caches/tmp_1853659109/main.java:119: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1853659109/main.java:125: error: class, interface, or enum expected
if (readMode())
^
/root/JavaX-Caches/tmp_1853659109/main.java:127: error: class, interface, or enum expected
}
^
49 errors