Wrote /root/JavaX-Caches/tmp_1297750960/main.java - 1089 bytes (written=1089, should be 1089) 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:/root/.tinybrain/snippet-cache/1400254.jar -d /root/JavaX-Caches/tmp_1173463922 /root/JavaX-Caches/tmp_1297750960/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_1297750960/main.java:2: error: class, interface, or enum expected svoid tarInJar_withMD5_withPredicate(File jarIn, File jarOut, IF1<S, Bool> putInTar) ctex { ^ /root/JavaX-Caches/tmp_1297750960/main.java:5: error: class, interface, or enum expected temp ZipOutputStream zipOut = zipOutputStream(jarOut); ^ /root/JavaX-Caches/tmp_1297750960/main.java:6: error: class, interface, or enum expected zip2zip_withPredicate(jarIn, zipOut, dontPutInTar); ^ /root/JavaX-Caches/tmp_1297750960/main.java:8: error: class, interface, or enum expected print("tarInJar_withMD5 " + f2s(jarIn) + " => " + f2s(jarOut)); ^ /root/JavaX-Caches/tmp_1297750960/main.java:9: error: class, interface, or enum expected File tar = createTempFile("", ".tar"); ^ /root/JavaX-Caches/tmp_1297750960/main.java:10: error: class, interface, or enum expected print(" temp: " + f2s(tar)); ^ /root/JavaX-Caches/tmp_1297750960/main.java:11: error: class, interface, or enum expected temp tempDeleteFile(tar); ^ /root/JavaX-Caches/tmp_1297750960/main.java:13: error: class, interface, or enum expected zip2tar_withPredicate(jarIn, tar, putInTar); ^ /root/JavaX-Caches/tmp_1297750960/main.java:14: error: class, interface, or enum expected file2zip(zipOut, tar, "bulk-" + md5(tar) + ".tar"); ^ /root/JavaX-Caches/tmp_1297750960/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1297750960/main.java:19: error: class, interface, or enum expected File jarOut = fileInSameDirectory(jarIn, dropSuffixIC(".jar", jarIn.getName()) + ".repacked.jar"); ^ /root/JavaX-Caches/tmp_1297750960/main.java:20: error: class, interface, or enum expected renameFileToUniqueName(jarOut); // backup old version ^ /root/JavaX-Caches/tmp_1297750960/main.java:21: error: class, interface, or enum expected tarInJar_withMD5_withPredicate(jarIn, jarOut, predicate); ^ /root/JavaX-Caches/tmp_1297750960/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1297750960/main.java:26: error: class, interface, or enum expected } ^ 15 errors