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

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

/root/JavaX-Caches/tmp_1927300905/main.java:1: error: class, interface, or enum expected static int l(Object[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:1: error: class, interface, or enum expected static int l(Object[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:2: error: class, interface, or enum expected static int l(bool[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:3: error: class, interface, or enum expected static int l(byte[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:4: error: class, interface, or enum expected static int l(short[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:5: error: class, interface, or enum expected static int l(long[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:6: error: class, interface, or enum expected static int l(int[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:7: error: class, interface, or enum expected static int l(float[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:8: error: class, interface, or enum expected static int l(double[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:9: error: class, interface, or enum expected static int l(char[] a) { return a == null ? 0 : a.length; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:10: error: class, interface, or enum expected static int l(Collection c) { return c == null ? 0 : c.size(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:12: error: class, interface, or enum expected static int l(Iterator i) { return iteratorCount_int_close(i); } // consumes the iterator && closes it if possible ^ /root/JavaX-Caches/tmp_1927300905/main.java:14: error: class, interface, or enum expected static int l(Map m) { return m == null ? 0 : m.size(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:15: error: class, interface, or enum expected static int l(CharSequence s) { return s == null ? 0 : s.length(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:16: error: class, interface, or enum expected static long l(File f) { ret f == null ? 0 : f.length(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:34: error: unclosed character literal : (Int) call(o, 'size); ^ /root/JavaX-Caches/tmp_1927300905/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1927300905/main.java:39: error: class, interface, or enum expected static int l(MultiSet ms) { ret ms == null ? 0 : ms.size(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:43: error: class, interface, or enum expected static int l(Lisp l) { ret l == null ? 0 : l.size(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:47: error: class, interface, or enum expected static int l(IntRange r) { ret r == null ? 0 : r.length(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:51: error: class, interface, or enum expected static long l(LongRange r) { ret r == null ? 0 : r.length(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:55: error: class, interface, or enum expected static double l(DoubleRange r) { ret r == null ? 0 : r.length(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:59: error: class, interface, or enum expected static int l(IntBuffer b) { ret b == null ? 0 : b.size(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:63: error: class, interface, or enum expected static int l(LongBuffer b) { ret b == null ? 0 : b.size(); } ^ /root/JavaX-Caches/tmp_1927300905/main.java:67: error: class, interface, or enum expected static int l(AppendableChain a) { ret a == null ? 0 : a.size; } ^ /root/JavaX-Caches/tmp_1927300905/main.java:71: error: class, interface, or enum expected static int l(HalfLongs l) { ret l == null ? 0 : l.size(); } ^ 26 errors