Wrote /root/JavaX-Caches/tmp_478732596/main.java - 1948 bytes (written=1948, should be 1948)
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_413507261 /root/JavaX-Caches/tmp_478732596/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_478732596/main.java:8: error: class, interface, or enum expected
static int typeConversionScore(Class a, Class b) {
^
/root/JavaX-Caches/tmp_478732596/main.java:11: error: class, interface, or enum expected
if (b.isPrimitive()) {
^
/root/JavaX-Caches/tmp_478732596/main.java:18: error: expected
if (b == bool.class) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:21: error: class, interface, or enum expected
if (b == byte.class) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:21: error: expected
if (b == byte.class) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:24: error: class, interface, or enum expected
if (b == char.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:24: error: expected
if (b == char.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:24: error: class, interface, or enum expected
if (b == char.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:24: error: expected
if (b == char.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:27: error: class, interface, or enum expected
if (b == short.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:27: error: expected
if (b == short.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:27: error: class, interface, or enum expected
if (b == short.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:27: error: expected
if (b == short.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: class, interface, or enum expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: class, interface, or enum expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: class, interface, or enum expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: class, interface, or enum expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:30: error: expected
if (b == int.class) ret a == byte.class || a == char.class || a == short.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: class, interface, or enum expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: class, interface, or enum expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: class, interface, or enum expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: class, interface, or enum expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: class, interface, or enum expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:33: error: expected
if (b == long.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: class, interface, or enum expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: class, interface, or enum expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: class, interface, or enum expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: class, interface, or enum expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: class, interface, or enum expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:36: error: expected
if (b == float.class) ret a == byte.class || a == char.class || a == short.class || a == int.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:39: error: class, interface, or enum expected
ret a != bool.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:39: error: expected
ret a != bool.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:40: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_478732596/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_478732596/main.java:51: error: class, interface, or enum expected
ret b.isAssignableFrom(a) ? 1 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_478732596/main.java:52: error: class, interface, or enum expected
}
^
47 errors