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

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

/root/JavaX-Caches/tmp_228689000/main.java:1: error: class, interface, or enum expected !include once #1034352 // zip4j ^ /root/JavaX-Caches/tmp_228689000/main.java:1: error: illegal character: '#' !include once #1034352 // zip4j ^ /root/JavaX-Caches/tmp_228689000/main.java:5: error: class, interface, or enum expected srecord noeq Zip4j_CopySubSetOfZipFile(File zipIn, File zipOut, IPred<S> fileFilter) { ^ /root/JavaX-Caches/tmp_228689000/main.java:9: error: class, interface, or enum expected new HeaderWriter headerWriter; ^ /root/JavaX-Caches/tmp_228689000/main.java:10: error: class, interface, or enum expected new ProgressMonitor progressMonitor; ^ /root/JavaX-Caches/tmp_228689000/main.java:11: error: class, interface, or enum expected int bufferSize = InternalZipConstants.BUFF_SIZE; ^ /root/JavaX-Caches/tmp_228689000/main.java:12: error: class, interface, or enum expected Charset charset; ^ /root/JavaX-Caches/tmp_228689000/main.java:14: error: class, interface, or enum expected run { ^ /root/JavaX-Caches/tmp_228689000/main.java:17: error: class, interface, or enum expected zipModel.setZipFile(zipIn); ^ /root/JavaX-Caches/tmp_228689000/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:21: error: class, interface, or enum expected temp inputStream = new RandomAccessFile(zipModel.getZipFile(), RandomAccessFileMode.READ.getValue()); ^ /root/JavaX-Caches/tmp_228689000/main.java:23: error: class, interface, or enum expected long currentFileCopyPointer = 0, runningOffset = 0; ^ /root/JavaX-Caches/tmp_228689000/main.java:24: error: class, interface, or enum expected L<FileHeader> sortedFileHeaders = sortedByComparator(zipModel.getCentralDirectory().getFileHeaders(), (o1, o2) -> { ^ /root/JavaX-Caches/tmp_228689000/main.java:26: error: class, interface, or enum expected ret cmp(o1.getOffsetLocalHeader(), o2.getOffsetLocalHeader()); ^ /root/JavaX-Caches/tmp_228689000/main.java:27: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_228689000/main.java:29: error: class, interface, or enum expected int count = 0; ^ /root/JavaX-Caches/tmp_228689000/main.java:30: error: class, interface, or enum expected new L<FileHeader> filteredFileHeaders; ^ /root/JavaX-Caches/tmp_228689000/main.java:31: error: class, interface, or enum expected for iFileHeader over sortedFileHeaders: { ^ /root/JavaX-Caches/tmp_228689000/main.java:33: error: class, interface, or enum expected var fileHeaderOffset = fileHeader.getOffsetLocalHeader(); ^ /root/JavaX-Caches/tmp_228689000/main.java:34: error: class, interface, or enum expected var nextOffset = getOffsetOfNextEntry(sortedFileHeaders, iFileHeader, zipModel); ^ /root/JavaX-Caches/tmp_228689000/main.java:35: error: class, interface, or enum expected long fp = outputStream.getFilePointer(); ^ /root/JavaX-Caches/tmp_228689000/main.java:36: error: class, interface, or enum expected long lengthOfCurrentEntry = nextOffset + runningOffset - fp; ^ /root/JavaX-Caches/tmp_228689000/main.java:38: error: class, interface, or enum expected if (count++ < 10) ^ /root/JavaX-Caches/tmp_228689000/main.java:41: error: class, interface, or enum expected if (!fileFilter.get(fileHeader.getFileName())) { ^ /root/JavaX-Caches/tmp_228689000/main.java:43: error: class, interface, or enum expected currentFileCopyPointer += lengthOfCurrentEntry; ^ /root/JavaX-Caches/tmp_228689000/main.java:44: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_228689000/main.java:46: error: class, interface, or enum expected filteredFileHeaders.add(fileHeader); ^ /root/JavaX-Caches/tmp_228689000/main.java:49: error: class, interface, or enum expected currentFileCopyPointer += copyFile(inputStream, outputStream, ^ /root/JavaX-Caches/tmp_228689000/main.java:53: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:57: error: class, interface, or enum expected endOfCDR.setTotalNumberOfEntriesInCentralDirectory(l(filteredFileHeaders)); ^ /root/JavaX-Caches/tmp_228689000/main.java:58: error: class, interface, or enum expected endOfCDR.setTotalNumberOfEntriesInCentralDirectoryOnThisDisk(l(filteredFileHeaders)); ^ /root/JavaX-Caches/tmp_228689000/main.java:60: error: class, interface, or enum expected if (zipModel.isZip64Format()) { ^ /root/JavaX-Caches/tmp_228689000/main.java:64: error: class, interface, or enum expected zipModel.getZip64EndOfCentralDirectoryRecord().setTotalNumberOfEntriesInCentralDirectoryOnThisDisk(l(filteredFileHeaders)); ^ /root/JavaX-Caches/tmp_228689000/main.java:66: error: class, interface, or enum expected zipModel.getZip64EndOfCentralDirectoryLocator().setOffsetZip64EndOfCentralDirectoryRecord( ^ /root/JavaX-Caches/tmp_228689000/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:71: error: class, interface, or enum expected headerWriter.finalizeZipFile(zipModel, outputStream, buildConfig().getCharset()); ^ /root/JavaX-Caches/tmp_228689000/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:79: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_228689000/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:87: error: class, interface, or enum expected ret length; ^ /root/JavaX-Caches/tmp_228689000/main.java:88: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:92: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_228689000/main.java:97: error: class, interface, or enum expected if (zipModel.isZip64Format() ^ /root/JavaX-Caches/tmp_228689000/main.java:103: error: class, interface, or enum expected } ^ 44 errors