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

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

/root/JavaX-Caches/tmp_1522546747/main.java:1: error: class, interface, or enum expected sclass Operation { ^ /root/JavaX-Caches/tmp_1522546747/main.java:3: error: class, interface, or enum expected int[] registers; ^ /root/JavaX-Caches/tmp_1522546747/main.java:4: error: class, interface, or enum expected int outRegister = -1; ^ /root/JavaX-Caches/tmp_1522546747/main.java:6: error: class, interface, or enum expected *(S *function, int... regs) { ^ /root/JavaX-Caches/tmp_1522546747/main.java:8: error: class, interface, or enum expected outRegister = last(regs); ^ /root/JavaX-Caches/tmp_1522546747/main.java:9: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1522546747/main.java:14: error: class, interface, or enum expected new TreeMap<S, O> functions; ^ /root/JavaX-Caches/tmp_1522546747/main.java:16: error: class, interface, or enum expected void function(S name, O implementation) { ^ /root/JavaX-Caches/tmp_1522546747/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1522546747/main.java:23: error: class, interface, or enum expected registers[register] = value; ^ /root/JavaX-Caches/tmp_1522546747/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1522546747/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1522546747/main.java:32: error: class, interface, or enum expected if (f == null) fail("Unknown operation: " + op.function); ^ /root/JavaX-Caches/tmp_1522546747/main.java:33: error: class, interface, or enum expected int n = l(op.registers); ^ /root/JavaX-Caches/tmp_1522546747/main.java:34: error: class, interface, or enum expected O[] arguments = new O[n]; ^ /root/JavaX-Caches/tmp_1522546747/main.java:35: error: class, interface, or enum expected for i to n: arguments[i] = get(op.registers[i]); ^ /root/JavaX-Caches/tmp_1522546747/main.java:36: error: class, interface, or enum expected O result = callF(f, arguments); ^ /root/JavaX-Caches/tmp_1522546747/main.java:37: error: class, interface, or enum expected if (op.outRegister >= 0) ^ /root/JavaX-Caches/tmp_1522546747/main.java:39: error: class, interface, or enum expected } ^ 19 errors