Wrote /root/JavaX-Caches/tmp_721448327/main.java - 905 bytes (written=905, should be 905)
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_1311302642 /root/JavaX-Caches/tmp_721448327/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_721448327/main.java:1: error: class, interface, or enum expected
static Producer moveProducerToNewThread(Producer producer, CloseablesHolder ch, int bufferSize default 65536) {
^
/root/JavaX-Caches/tmp_721448327/main.java:3: error: class, interface, or enum expected
SimpleCircularBuffer buffer = new(bufferSize);
^
/root/JavaX-Caches/tmp_721448327/main.java:4: error: class, interface, or enum expected
new Flag done;
^
/root/JavaX-Caches/tmp_721448327/main.java:5: error: class, interface, or enum expected
new Var error;
^
/root/JavaX-Caches/tmp_721448327/main.java:6: error: class, interface, or enum expected
ch.add(() -> done.raise());
^
/root/JavaX-Caches/tmp_721448327/main.java:7: error: class, interface, or enum expected
startThread(r {
^
/root/JavaX-Caches/tmp_721448327/main.java:10: error: class, interface, or enum expected
while ping (!done.isUp() && (a = producer.next()) != null) {
^
/root/JavaX-Caches/tmp_721448327/main.java:13: error: class, interface, or enum expected
endifdef
^
/root/JavaX-Caches/tmp_721448327/main.java:15: error: class, interface, or enum expected
buffer.add(a);
^
/root/JavaX-Caches/tmp_721448327/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_721448327/main.java:19: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_721448327/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_721448327/main.java:24: error: class, interface, or enum expected
ret () -> {
^
/root/JavaX-Caches/tmp_721448327/main.java:27: error: class, interface, or enum expected
A a = buffer.popFirst();
^
/root/JavaX-Caches/tmp_721448327/main.java:28: error: class, interface, or enum expected
if (a != null) ret a;
^
/root/JavaX-Caches/tmp_721448327/main.java:29: error: class, interface, or enum expected
if (isDone)
^
/root/JavaX-Caches/tmp_721448327/main.java:31: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_721448327/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_721448327/main.java:35: error: class, interface, or enum expected
}
^
19 errors