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

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

/root/JavaX-Caches/tmp_1248713719/main.java:1: error: class, interface, or enum expected sclass FastCollab is ICollab, AutoCloseable { ^ /root/JavaX-Caches/tmp_1248713719/main.java:3: error: class, interface, or enum expected volatile settable bool isDone; ^ /root/JavaX-Caches/tmp_1248713719/main.java:4: error: class, interface, or enum expected gettable int coresToUse; ^ /root/JavaX-Caches/tmp_1248713719/main.java:5: error: class, interface, or enum expected FastCollabWorker[] workers; ^ /root/JavaX-Caches/tmp_1248713719/main.java:6: error: class, interface, or enum expected AtomicReferenceArray<Runnable> workArray; ^ /root/JavaX-Caches/tmp_1248713719/main.java:9: error: class, interface, or enum expected settable int sleepTime = 0; ^ /root/JavaX-Caches/tmp_1248713719/main.java:11: error: class, interface, or enum expected settable PingSource interruptor = new; ^ /root/JavaX-Caches/tmp_1248713719/main.java:13: error: class, interface, or enum expected static final Runnable DONE = r { fail("Collab done") }; ^ /root/JavaX-Caches/tmp_1248713719/main.java:15: error: class, interface, or enum expected *(int coresToUse) { ^ /root/JavaX-Caches/tmp_1248713719/main.java:17: error: class, interface, or enum expected workArray = new AtomicReferenceArray(this.coresToUse); ^ /root/JavaX-Caches/tmp_1248713719/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1248713719/main.java:20: error: class, interface, or enum expected public void addWork(Runnable work) { ^ /root/JavaX-Caches/tmp_1248713719/main.java:22: error: class, interface, or enum expected for (int i = 0; i < workArray.length(); i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:22: error: class, interface, or enum expected for (int i = 0; i < workArray.length(); i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:22: error: class, interface, or enum expected for (int i = 0; i < workArray.length(); i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:27: error: class, interface, or enum expected work.run(); ^ /root/JavaX-Caches/tmp_1248713719/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1248713719/main.java:32: error: class, interface, or enum expected public Runnable grabWork(int workerIndex) { ^ /root/JavaX-Caches/tmp_1248713719/main.java:34: error: class, interface, or enum expected Runnable work = workArray.get(workerIndex); ^ /root/JavaX-Caches/tmp_1248713719/main.java:35: error: class, interface, or enum expected if (work != null) ^ /root/JavaX-Caches/tmp_1248713719/main.java:37: error: class, interface, or enum expected ret work; ^ /root/JavaX-Caches/tmp_1248713719/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1248713719/main.java:40: error: class, interface, or enum expected public void done { isDone(true); } ^ /root/JavaX-Caches/tmp_1248713719/main.java:40: error: class, interface, or enum expected public void done { isDone(true); } ^ /root/JavaX-Caches/tmp_1248713719/main.java:42: error: class, interface, or enum expected toString { ret "FastCollab*" + n2(coresToUse); } ^ /root/JavaX-Caches/tmp_1248713719/main.java:46: error: class, interface, or enum expected for i to coresToUse: ^ /root/JavaX-Caches/tmp_1248713719/main.java:49: error: class, interface, or enum expected int iFirst = useMainThread ? 1 : 0; ^ /root/JavaX-Caches/tmp_1248713719/main.java:50: error: class, interface, or enum expected for (int i = iFirst; i < coresToUse; i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:50: error: class, interface, or enum expected for (int i = iFirst; i < coresToUse; i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:50: error: class, interface, or enum expected for (int i = iFirst; i < coresToUse; i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:52: error: class, interface, or enum expected if (useMainThread) ^ /root/JavaX-Caches/tmp_1248713719/main.java:54: error: class, interface, or enum expected for (int i = iFirst; i < coresToUse; i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:54: error: class, interface, or enum expected for (int i = iFirst; i < coresToUse; i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:54: error: class, interface, or enum expected for (int i = iFirst; i < coresToUse; i++) ^ /root/JavaX-Caches/tmp_1248713719/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1248713719/main.java:60: error: class, interface, or enum expected } ^ 36 errors