Wrote /root/JavaX-Caches/tmp_1053956980/main.java - 1133 bytes (written=1133, should be 1133)
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_1035014847 /root/JavaX-Caches/tmp_1053956980/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1053956980/main.java:1: error: class, interface, or enum expected
sclass MultiSleeper is ISleeper, AutoCloseable {
^
/root/JavaX-Caches/tmp_1053956980/main.java:3: error: class, interface, or enum expected
new RestartableCountdown countdown;
^
/root/JavaX-Caches/tmp_1053956980/main.java:5: error: class, interface, or enum expected
private void check {
^
/root/JavaX-Caches/tmp_1053956980/main.java:7: error: class, interface, or enum expected
var action = firstValue(entries);
^
/root/JavaX-Caches/tmp_1053956980/main.java:8: error: class, interface, or enum expected
countdown.setTargetTime(time == null ? 0 : time.sysTime(), r {
^
/root/JavaX-Caches/tmp_1053956980/main.java:10: error: class, interface, or enum expected
synchronized(MultiSleeper.this) {
^
/root/JavaX-Caches/tmp_1053956980/main.java:12: error: class, interface, or enum expected
entries.remove(time);
^
/root/JavaX-Caches/tmp_1053956980/main.java:13: error: class, interface, or enum expected
check();
^
/root/JavaX-Caches/tmp_1053956980/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1053956980/main.java:16: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1053956980/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1053956980/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1053956980/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1053956980/main.java:29: error: class, interface, or enum expected
public synchronized Sleeping doLater(Timestamp targetTime, Runnable r) {
^
/root/JavaX-Caches/tmp_1053956980/main.java:31: error: class, interface, or enum expected
targetTime = max(targetTime, tsNow());
^
/root/JavaX-Caches/tmp_1053956980/main.java:32: error: class, interface, or enum expected
entries.put(targetTime, r);
^
/root/JavaX-Caches/tmp_1053956980/main.java:33: error: class, interface, or enum expected
check();
^
/root/JavaX-Caches/tmp_1053956980/main.java:34: error: class, interface, or enum expected
ret new Sleeping(targetTime, r) {
^
/root/JavaX-Caches/tmp_1053956980/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1053956980/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1053956980/main.java:43: error: class, interface, or enum expected
}
^
21 errors