Wrote /root/JavaX-Caches/tmp_260670375/main.java - 926 bytes (written=926, should be 926)
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_988506475 /root/JavaX-Caches/tmp_260670375/main.java 2>&1
Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
used; ^ /root/JavaX-Caches/tmp_260670375/main.java:6: error: class, interface, or enum expected new SelfNotifyingSetfree; ^ /root/JavaX-Caches/tmp_260670375/main.java:8: error: class, interface, or enum expected synchronized int total() { ret l(used)+l(free); } ^ /root/JavaX-Caches/tmp_260670375/main.java:8: error: class, interface, or enum expected synchronized int total() { ret l(used)+l(free); } ^ /root/JavaX-Caches/tmp_260670375/main.java:9: error: class, interface, or enum expected synchronized bool nonFree() { ret empty(free) && max < total(); } ^ /root/JavaX-Caches/tmp_260670375/main.java:13: error: class, interface, or enum expected void fireCustomerMustWaitAlert { ^ /root/JavaX-Caches/tmp_260670375/main.java:15: error: class, interface, or enum expected customerMustWaitAlert(); ^ /root/JavaX-Caches/tmp_260670375/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_260670375/main.java:21: error: class, interface, or enum expected if (total() < max) ^ /root/JavaX-Caches/tmp_260670375/main.java:23: error: class, interface, or enum expected sleepWhileEmpty(free); ^ /root/JavaX-Caches/tmp_260670375/main.java:24: error: class, interface, or enum expected Q t = assertNotNull(popFirst(free)); ^ /root/JavaX-Caches/tmp_260670375/main.java:25: error: class, interface, or enum expected used.add(t); ^ /root/JavaX-Caches/tmp_260670375/main.java:26: error: class, interface, or enum expected ret withAutoCloseable(-> giveQBack(t), t); ^ /root/JavaX-Caches/tmp_260670375/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_260670375/main.java:31: error: class, interface, or enum expected free.add(t); ^ /root/JavaX-Caches/tmp_260670375/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_260670375/main.java:38: error: class, interface, or enum expected } ^ 18 errors