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

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

/root/JavaX-Caches/tmp_1083241284/main.java:1: error: class, interface, or enum expected ifndef NoGenericFunctions ^ /root/JavaX-Caches/tmp_1083241284/main.java:4: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:9: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:21: error: class, interface, or enum expected var e = first(mm.data.entrySet()); ^ /root/JavaX-Caches/tmp_1083241284/main.java:22: error: class, interface, or enum expected if (e == null) null; ^ /root/JavaX-Caches/tmp_1083241284/main.java:23: error: class, interface, or enum expected ret pair(e.getKey(), first(e.getValue()); ^ /root/JavaX-Caches/tmp_1083241284/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:38: error: class, interface, or enum expected Iterator<A> it = i.iterator(); ^ /root/JavaX-Caches/tmp_1083241284/main.java:39: error: class, interface, or enum expected ret it.hasNext() ? it.next() : null; ^ /root/JavaX-Caches/tmp_1083241284/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:42: error: class, interface, or enum expected static Char first(S s) { ret empty(s) ? null : s.charAt(0); } ^ /root/JavaX-Caches/tmp_1083241284/main.java:43: error: class, interface, or enum expected static Char first(CharSequence s) { ret empty(s) ? null : s.charAt(0); } ^ /root/JavaX-Caches/tmp_1083241284/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:57: error: class, interface, or enum expected static Byte first(byte[] l) { ret empty(l) ? null : l[0]; } ^ /root/JavaX-Caches/tmp_1083241284/main.java:58: error: class, interface, or enum expected static Double first(double[] l) { ret empty(l) ? null : l[0]; } ^ /root/JavaX-Caches/tmp_1083241284/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:69: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:74: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:78: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1083241284/main.java:93: error: class, interface, or enum expected } ^ 27 errors