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

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

/root/JavaX-Caches/tmp_1529212487/main.java:3: error: class, interface, or enum expected sclass EndianDataInputStream extends DataInputStream ^ /root/JavaX-Caches/tmp_1529212487/main.java:5: error: class, interface, or enum expected *(InputStream in) { super(in); } ^ /root/JavaX-Caches/tmp_1529212487/main.java:7: error: class, interface, or enum expected public String read4ByteString( ) ctex ^ /root/JavaX-Caches/tmp_1529212487/main.java:10: error: class, interface, or enum expected readFully(bytes); ^ /root/JavaX-Caches/tmp_1529212487/main.java:11: error: class, interface, or enum expected return new String( bytes, "US-ASCII" ); ^ /root/JavaX-Caches/tmp_1529212487/main.java:12: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1529212487/main.java:14: error: class, interface, or enum expected public short readShortLittleEndian( ) ctex ^ /root/JavaX-Caches/tmp_1529212487/main.java:17: error: class, interface, or enum expected result |= readUnsignedByte() << 8; ^ /root/JavaX-Caches/tmp_1529212487/main.java:18: error: class, interface, or enum expected return (short)result; ^ /root/JavaX-Caches/tmp_1529212487/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1529212487/main.java:21: error: class, interface, or enum expected public int readIntLittleEndian( ) ctex ^ /root/JavaX-Caches/tmp_1529212487/main.java:24: error: class, interface, or enum expected result |= readUnsignedByte() << 8; ^ /root/JavaX-Caches/tmp_1529212487/main.java:25: error: class, interface, or enum expected result |= readUnsignedByte() << 16; ^ /root/JavaX-Caches/tmp_1529212487/main.java:26: error: class, interface, or enum expected result |= readUnsignedByte() << 24; ^ /root/JavaX-Caches/tmp_1529212487/main.java:27: error: class, interface, or enum expected return result; ^ /root/JavaX-Caches/tmp_1529212487/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1529212487/main.java:30: error: class, interface, or enum expected public int readInt24BitLittleEndian( ) ctex ^ /root/JavaX-Caches/tmp_1529212487/main.java:33: error: class, interface, or enum expected result |= readUnsignedByte() << 8; ^ /root/JavaX-Caches/tmp_1529212487/main.java:34: error: class, interface, or enum expected result |= readUnsignedByte() << 16; ^ /root/JavaX-Caches/tmp_1529212487/main.java:35: error: class, interface, or enum expected if( (result & ( 1 << 23 )) == 8388608 ) ^ /root/JavaX-Caches/tmp_1529212487/main.java:37: error: class, interface, or enum expected return result; ^ /root/JavaX-Caches/tmp_1529212487/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1529212487/main.java:40: error: class, interface, or enum expected public int readInt24Bit( ) ctex ^ /root/JavaX-Caches/tmp_1529212487/main.java:43: error: class, interface, or enum expected result |= readUnsignedByte() << 8; ^ /root/JavaX-Caches/tmp_1529212487/main.java:44: error: class, interface, or enum expected result |= readUnsignedByte(); ^ /root/JavaX-Caches/tmp_1529212487/main.java:45: error: class, interface, or enum expected return result; ^ /root/JavaX-Caches/tmp_1529212487/main.java:46: error: class, interface, or enum expected } ^ 27 errors