Wrote /root/JavaX-Caches/tmp_765994791/main.java - 30162 bytes (written=30162, should be 30162)
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_998642477 /root/JavaX-Caches/tmp_765994791/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_765994791/main.java:9: error: class, interface, or enum expected
sclass ZipOutputStreamWithRawCopying extends DeflaterOutputStream is ZipConstants {
^
/root/JavaX-Caches/tmp_765994791/main.java:19: error: class, interface, or enum expected
private static final boolean inhibitZip64 =
^
/root/JavaX-Caches/tmp_765994791/main.java:32: error: class, interface, or enum expected
private XEntry current;
^
/root/JavaX-Caches/tmp_765994791/main.java:33: error: class, interface, or enum expected
private Vector xentries = new Vector<>();
^
/root/JavaX-Caches/tmp_765994791/main.java:34: error: class, interface, or enum expected
private HashSet names = new HashSet<>();
^
/root/JavaX-Caches/tmp_765994791/main.java:35: error: class, interface, or enum expected
private CRC32 crc = new CRC32();
^
/root/JavaX-Caches/tmp_765994791/main.java:36: error: class, interface, or enum expected
private long written = 0;
^
/root/JavaX-Caches/tmp_765994791/main.java:37: error: class, interface, or enum expected
private long locoff = 0;
^
/root/JavaX-Caches/tmp_765994791/main.java:38: error: class, interface, or enum expected
private byte[] comment;
^
/root/JavaX-Caches/tmp_765994791/main.java:39: error: class, interface, or enum expected
private int method = DEFLATED;
^
/root/JavaX-Caches/tmp_765994791/main.java:40: error: class, interface, or enum expected
private boolean finished;
^
/root/JavaX-Caches/tmp_765994791/main.java:42: error: class, interface, or enum expected
private boolean closed = false;
^
/root/JavaX-Caches/tmp_765994791/main.java:44: error: class, interface, or enum expected
private final ZipCoder zc;
^
/root/JavaX-Caches/tmp_765994791/main.java:46: error: class, interface, or enum expected
private static int version(ZipEntry e) throws ZipException {
^
/root/JavaX-Caches/tmp_765994791/main.java:49: error: class, interface, or enum expected
case STORED -> 10;
^
/root/JavaX-Caches/tmp_765994791/main.java:50: error: class, interface, or enum expected
default -> throw new ZipException("unsupported compression method");
^
/root/JavaX-Caches/tmp_765994791/main.java:51: error: class, interface, or enum expected
};
^
/root/JavaX-Caches/tmp_765994791/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:66: error: class, interface, or enum expected
public static final int STORED = ZipEntry.STORED;
^
/root/JavaX-Caches/tmp_765994791/main.java:71: error: class, interface, or enum expected
public static final int DEFLATED = ZipEntry.DEFLATED;
^
/root/JavaX-Caches/tmp_765994791/main.java:81: error: class, interface, or enum expected
public *(OutputStream out) {
^
/root/JavaX-Caches/tmp_765994791/main.java:83: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:95: error: class, interface, or enum expected
public *(OutputStream out, Charset charset) {
^
/root/JavaX-Caches/tmp_765994791/main.java:97: error: class, interface, or enum expected
if (charset == null)
^
/root/JavaX-Caches/tmp_765994791/main.java:99: error: class, interface, or enum expected
this.zc = ZipCoder.get(charset);
^
/root/JavaX-Caches/tmp_765994791/main.java:100: error: class, interface, or enum expected
usesDefaultDeflater = true;
^
/root/JavaX-Caches/tmp_765994791/main.java:101: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:109: error: class, interface, or enum expected
public void setComment(String comment) {
^
/root/JavaX-Caches/tmp_765994791/main.java:112: error: class, interface, or enum expected
if (this.comment.length > 0xffff)
^
/root/JavaX-Caches/tmp_765994791/main.java:114: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:125: error: class, interface, or enum expected
public void setMethod(int method) {
^
/root/JavaX-Caches/tmp_765994791/main.java:128: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:130: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:138: error: class, interface, or enum expected
public void setLevel(int level) {
^
/root/JavaX-Caches/tmp_765994791/main.java:140: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:158: error: class, interface, or enum expected
public void putNextEntry(ZipEntry e) throws IOException {
^
/root/JavaX-Caches/tmp_765994791/main.java:160: error: class, interface, or enum expected
if (current != null) {
^
/root/JavaX-Caches/tmp_765994791/main.java:162: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:167: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:170: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:173: error: class, interface, or enum expected
switch (e.method) {
^
/root/JavaX-Caches/tmp_765994791/main.java:182: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:184: error: class, interface, or enum expected
case STORED:
^
/root/JavaX-Caches/tmp_765994791/main.java:189: error: class, interface, or enum expected
} else if (e.csize == -1) {
^
/root/JavaX-Caches/tmp_765994791/main.java:191: error: class, interface, or enum expected
} else if (e.size != e.csize) {
^
/root/JavaX-Caches/tmp_765994791/main.java:194: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:198: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:200: error: class, interface, or enum expected
default:
^
/root/JavaX-Caches/tmp_765994791/main.java:202: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:205: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:208: error: class, interface, or enum expected
current = new XEntry(e, written);
^
/root/JavaX-Caches/tmp_765994791/main.java:209: error: class, interface, or enum expected
xentries.add(current);
^
/root/JavaX-Caches/tmp_765994791/main.java:210: error: class, interface, or enum expected
writeLOC(current);
^
/root/JavaX-Caches/tmp_765994791/main.java:211: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:219: error: class, interface, or enum expected
public void closeEntry() throws IOException {
^
/root/JavaX-Caches/tmp_765994791/main.java:221: error: class, interface, or enum expected
if (current != null) {
^
/root/JavaX-Caches/tmp_765994791/main.java:223: error: class, interface, or enum expected
switch (e.method) {
^
/root/JavaX-Caches/tmp_765994791/main.java:226: error: class, interface, or enum expected
while (!def.finished()) {
^
/root/JavaX-Caches/tmp_765994791/main.java:228: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:235: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:240: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:246: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:249: error: class, interface, or enum expected
e.csize = def.getBytesWritten();
^
/root/JavaX-Caches/tmp_765994791/main.java:250: error: class, interface, or enum expected
e.crc = crc.getValue();
^
/root/JavaX-Caches/tmp_765994791/main.java:251: error: class, interface, or enum expected
writeEXT(e);
^
/root/JavaX-Caches/tmp_765994791/main.java:252: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:254: error: class, interface, or enum expected
written += e.csize;
^
/root/JavaX-Caches/tmp_765994791/main.java:255: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:262: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:268: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:271: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:273: error: class, interface, or enum expected
current = null;
^
/root/JavaX-Caches/tmp_765994791/main.java:274: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:286: error: class, interface, or enum expected
public synchronized void write(byte[] b, int off, int len)
^
/root/JavaX-Caches/tmp_765994791/main.java:290: error: class, interface, or enum expected
if (off < 0 || len < 0 || off > b.length - len) {
^
/root/JavaX-Caches/tmp_765994791/main.java:292: error: class, interface, or enum expected
} else if (len == 0) {
^
/root/JavaX-Caches/tmp_765994791/main.java:294: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:298: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:300: error: class, interface, or enum expected
switch (entry.method) {
^
/root/JavaX-Caches/tmp_765994791/main.java:302: error: class, interface, or enum expected
case STORED -> {
^
/root/JavaX-Caches/tmp_765994791/main.java:304: error: class, interface, or enum expected
if (written - locoff > entry.size) {
^
/root/JavaX-Caches/tmp_765994791/main.java:307: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:309: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:311: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:313: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:322: error: class, interface, or enum expected
public void finish() throws IOException {
^
/root/JavaX-Caches/tmp_765994791/main.java:324: error: class, interface, or enum expected
if (finished) {
^
/root/JavaX-Caches/tmp_765994791/main.java:326: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:329: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:332: error: class, interface, or enum expected
for (XEntry xentry : xentries)
^
/root/JavaX-Caches/tmp_765994791/main.java:334: error: class, interface, or enum expected
writeEND(off, written - off);
^
/root/JavaX-Caches/tmp_765994791/main.java:335: error: class, interface, or enum expected
finished = true;
^
/root/JavaX-Caches/tmp_765994791/main.java:336: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:343: error: class, interface, or enum expected
public void close() throws IOException {
^
/root/JavaX-Caches/tmp_765994791/main.java:346: error: class, interface, or enum expected
closed = true;
^
/root/JavaX-Caches/tmp_765994791/main.java:347: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_765994791/main.java:355: error: class, interface, or enum expected
int flag = e.flag;
^
/root/JavaX-Caches/tmp_765994791/main.java:356: error: class, interface, or enum expected
boolean hasZip64 = false;
^
/root/JavaX-Caches/tmp_765994791/main.java:357: error: class, interface, or enum expected
int elen = getExtraLen(e.extra);
^
100 errors
only showing the first 100 errors, of 324 total; use -Xmaxerrs if you would like to see more