Wrote /root/JavaX-Caches/tmp_1440608726/main.java - 2213 bytes (written=2213, should be 2213)
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_648415736 /root/JavaX-Caches/tmp_1440608726/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1440608726/main.java:1: error: class, interface, or enum expected
sclass MultiThreadStepper implements AutoCloseable {
^
/root/JavaX-Caches/tmp_1440608726/main.java:3: error: class, interface, or enum expected
Lock lock = lock();
^
/root/JavaX-Caches/tmp_1440608726/main.java:4: error: class, interface, or enum expected
L threads = synchroList();
^
/root/JavaX-Caches/tmp_1440608726/main.java:5: error: class, interface, or enum expected
L steppables = synchroList();
^
/root/JavaX-Caches/tmp_1440608726/main.java:6: error: class, interface, or enum expected
L stepping = synchroList();
^
/root/JavaX-Caches/tmp_1440608726/main.java:7: error: class, interface, or enum expected
int cores = coresToUse();
^
/root/JavaX-Caches/tmp_1440608726/main.java:8: error: class, interface, or enum expected
int idleDelay = 10;
^
/root/JavaX-Caches/tmp_1440608726/main.java:9: error: class, interface, or enum expected
volatile bool cancelled;
^
/root/JavaX-Caches/tmp_1440608726/main.java:10: error: class, interface, or enum expected
new AtomicLong steps;
^
/root/JavaX-Caches/tmp_1440608726/main.java:11: error: class, interface, or enum expected
long startTime;
^
/root/JavaX-Caches/tmp_1440608726/main.java:12: error: class, interface, or enum expected
volatile long elapsedTime;
^
/root/JavaX-Caches/tmp_1440608726/main.java:14: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1440608726/main.java:15: error: class, interface, or enum expected
*(Steppable... steppables) { addAll(this.steppables, steppables); }
^
/root/JavaX-Caches/tmp_1440608726/main.java:16: error: class, interface, or enum expected
*(Collection extends Steppable> steppables) { addAll(this.steppables, steppables); }
^
/root/JavaX-Caches/tmp_1440608726/main.java:20: error: class, interface, or enum expected
startTime = sysNow();
^
/root/JavaX-Caches/tmp_1440608726/main.java:21: error: class, interface, or enum expected
repeat cores {
^
/root/JavaX-Caches/tmp_1440608726/main.java:23: error: class, interface, or enum expected
final Thread me = currentThread();
^
/root/JavaX-Caches/tmp_1440608726/main.java:24: error: class, interface, or enum expected
threads.add(me);
^
/root/JavaX-Caches/tmp_1440608726/main.java:25: error: class, interface, or enum expected
afterwards {
^
/root/JavaX-Caches/tmp_1440608726/main.java:27: error: class, interface, or enum expected
{
^
/root/JavaX-Caches/tmp_1440608726/main.java:29: error: class, interface, or enum expected
threads.remove(me);
^
/root/JavaX-Caches/tmp_1440608726/main.java:30: error: class, interface, or enum expected
done = empty(threads);
^
/root/JavaX-Caches/tmp_1440608726/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1440608726/main.java:34: error: class, interface, or enum expected
callF(onDone);
^
/root/JavaX-Caches/tmp_1440608726/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1440608726/main.java:41: error: class, interface, or enum expected
{
^
/root/JavaX-Caches/tmp_1440608726/main.java:43: error: class, interface, or enum expected
if (done()) ret;
^
/root/JavaX-Caches/tmp_1440608726/main.java:45: error: class, interface, or enum expected
s = random(steppables);
^
/root/JavaX-Caches/tmp_1440608726/main.java:46: error: class, interface, or enum expected
if (s != null) {
^
/root/JavaX-Caches/tmp_1440608726/main.java:48: error: class, interface, or enum expected
stepping.add(s);
^
/root/JavaX-Caches/tmp_1440608726/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1440608726/main.java:53: error: class, interface, or enum expected
bool done = false;
^
/root/JavaX-Caches/tmp_1440608726/main.java:54: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1440608726/main.java:56: error: class, interface, or enum expected
done = !s.step();
^
/root/JavaX-Caches/tmp_1440608726/main.java:57: error: class, interface, or enum expected
} catch e {
^
/root/JavaX-Caches/tmp_1440608726/main.java:59: error: class, interface, or enum expected
done = true;
^
/root/JavaX-Caches/tmp_1440608726/main.java:60: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_1440608726/main.java:62: error: class, interface, or enum expected
stepping.remove(s);
^
/root/JavaX-Caches/tmp_1440608726/main.java:63: error: class, interface, or enum expected
if (!done) steppables.add(s);
^
/root/JavaX-Caches/tmp_1440608726/main.java:64: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1440608726/main.java:70: error: class, interface, or enum expected
bool done() { ret empty(steppables) || cancelled; }
^
/root/JavaX-Caches/tmp_1440608726/main.java:74: error: class, interface, or enum expected
cancelThreads(threads);
^
/root/JavaX-Caches/tmp_1440608726/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1440608726/main.java:77: error: class, interface, or enum expected
void cleanMeUp { stop(); }
^
/root/JavaX-Caches/tmp_1440608726/main.java:78: error: class, interface, or enum expected
public void close() { stop(); }
^
/root/JavaX-Caches/tmp_1440608726/main.java:78: error: class, interface, or enum expected
public void close() { stop(); }
^
/root/JavaX-Caches/tmp_1440608726/main.java:80: error: class, interface, or enum expected
MultiThreadStepper onDone(Runnable r) { onDone = r; this; }
^
/root/JavaX-Caches/tmp_1440608726/main.java:80: error: class, interface, or enum expected
MultiThreadStepper onDone(Runnable r) { onDone = r; this; }
^
/root/JavaX-Caches/tmp_1440608726/main.java:82: error: class, interface, or enum expected
void add(Steppable s) { steppables.add(s); }
^
/root/JavaX-Caches/tmp_1440608726/main.java:84: error: class, interface, or enum expected
long steps() { ret steps!; }
^
50 errors