Wrote /root/JavaX-Caches/tmp_606888837/main.java - 1076 bytes (written=1076, should be 1076) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_290454773 /root/JavaX-Caches/tmp_606888837/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_606888837/main.java:1: error: class, interface, or enum expected !752 ^ /root/JavaX-Caches/tmp_606888837/main.java:5: error: class, interface, or enum expected for (Msg msg : msgs) ^ /root/JavaX-Caches/tmp_606888837/main.java:7: error: class, interface, or enum expected now(); ^ /root/JavaX-Caches/tmp_606888837/main.java:9: error: class, interface, or enum expected while true { ^ /root/JavaX-Caches/tmp_606888837/main.java:11: error: class, interface, or enum expected for (Msg msg : msgs) ^ /root/JavaX-Caches/tmp_606888837/main.java:13: error: class, interface, or enum expected if (!msgs.isEmpty()) ^ /root/JavaX-Caches/tmp_606888837/main.java:15: error: class, interface, or enum expected sleepSeconds(10); ^ /root/JavaX-Caches/tmp_606888837/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606888837/main.java:22: error: class, interface, or enum expected else if (isAnswer(msg)) { ^ /root/JavaX-Caches/tmp_606888837/main.java:24: error: class, interface, or enum expected questions.remove(q); ^ /root/JavaX-Caches/tmp_606888837/main.java:25: error: class, interface, or enum expected if (current == q) ^ /root/JavaX-Caches/tmp_606888837/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606888837/main.java:32: error: class, interface, or enum expected if (!questions.isEmpty()) { ^ /root/JavaX-Caches/tmp_606888837/main.java:34: error: class, interface, or enum expected questions.remove(0); ^ /root/JavaX-Caches/tmp_606888837/main.java:35: error: class, interface, or enum expected postAnswer(current); ^ /root/JavaX-Caches/tmp_606888837/main.java:36: error: class, interface, or enum expected } ^ 16 errors