Wrote /root/JavaX-Caches/tmp_190350408/main.java - 2364 bytes (written=2364, should be 2364)
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_1627718348 /root/JavaX-Caches/tmp_190350408/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_190350408/main.java:8: error: class, interface, or enum expected
static int typeConversionScore(Class a, Class b) {
^
/root/JavaX-Caches/tmp_190350408/main.java:11: error: class, interface, or enum expected
if (b.isPrimitive()) {
^
/root/JavaX-Caches/tmp_190350408/main.java:18: error: expected
if (b == bool.class) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/main.java:21: error: class, interface, or enum expected
if (b == byte.class) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/main.java:21: error: expected
if (b == byte.class) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/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_190350408/main.java:24: error: expected
if (b == char.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/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_190350408/main.java:24: error: expected
if (b == char.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/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_190350408/main.java:27: error: expected
if (b == short.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/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_190350408/main.java:27: error: expected
if (b == short.class) ret a == byte.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/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_190350408/main.java:39: error: class, interface, or enum expected
ret a != bool.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/main.java:39: error: expected
ret a != bool.class ? -2 : Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/main.java:40: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_190350408/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_190350408/main.java:54: error: class, interface, or enum expected
if (!b.isAssignableFrom(a)) ret Int.MAX_VALUE;
^
/root/JavaX-Caches/tmp_190350408/main.java:59: error: class, interface, or enum expected
if (a.isInterface() || b.isInterface()) ret 1;
^
/root/JavaX-Caches/tmp_190350408/main.java:61: error: class, interface, or enum expected
if (a.isArray() && b.isArray())
^
/root/JavaX-Caches/tmp_190350408/main.java:65: error: class, interface, or enum expected
ret subclassDistance(a, b)*2;
^
/root/JavaX-Caches/tmp_190350408/main.java:66: error: class, interface, or enum expected
}
^
50 errors