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

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

/root/JavaX-Caches/tmp_604565334/main.java:3: error: class, interface, or enum expected static Map<File, ClassLoader> hotwire_srcLibsMap = syncMap(); ^ /root/JavaX-Caches/tmp_604565334/main.java:5: error: class, interface, or enum expected static JavaXClassLoader hotwire_makeClassLoader_stickyAndSrcLibs(L<File> files) { ^ /root/JavaX-Caches/tmp_604565334/main.java:7: error: class, interface, or enum expected new Map<S, ClassLoader> parents; // key = package/class name ^ /root/JavaX-Caches/tmp_604565334/main.java:8: error: class, interface, or enum expected for (File f : files) { ^ /root/JavaX-Caches/tmp_604565334/main.java:10: error: class, interface, or enum expected if (libID != null && isStickyLibrary(libID)) { ^ /root/JavaX-Caches/tmp_604565334/main.java:13: error: class, interface, or enum expected } else if (f != first(files) && isMarkedAsSrcLib(libID = isFile(f) ? loadTextFileFromZip(f, "progID") : null)) { ^ /root/JavaX-Caches/tmp_604565334/main.java:15: error: class, interface, or enum expected S jname = dropSuffix(".java", getJavaSrcNameOfSrcLib(libID)); ^ /root/JavaX-Caches/tmp_604565334/main.java:16: error: class, interface, or enum expected assertNempty(libID, jname); ^ /root/JavaX-Caches/tmp_604565334/main.java:17: error: class, interface, or enum expected if (c == null) { ^ /root/JavaX-Caches/tmp_604565334/main.java:19: error: class, interface, or enum expected Class cc = hotwireSpecialMainClass(libID, jname.replace("/", "."); ^ /root/JavaX-Caches/tmp_604565334/main.java:20: error: class, interface, or enum expected setCreatorTo(cc, mc()); ^ /root/JavaX-Caches/tmp_604565334/main.java:21: error: class, interface, or enum expected c = cc.getClassLoader(); ^ /root/JavaX-Caches/tmp_604565334/main.java:22: error: class, interface, or enum expected hotwire_srcLibsMap.put(f, c); ^ /root/JavaX-Caches/tmp_604565334/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604565334/main.java:25: error: class, interface, or enum expected print("Linking src lib " + libID + " as " + pkg); ^ /root/JavaX-Caches/tmp_604565334/main.java:26: error: class, interface, or enum expected parents.put(pkg, c); ^ /root/JavaX-Caches/tmp_604565334/main.java:27: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_604565334/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_604565334/main.java:32: error: class, interface, or enum expected putAll(cl.parentMap, parents); ^ /root/JavaX-Caches/tmp_604565334/main.java:33: error: class, interface, or enum expected ret cl; ^ /root/JavaX-Caches/tmp_604565334/main.java:34: error: class, interface, or enum expected } ^ 21 errors