Wrote /root/JavaX-Caches/tmp_1705090472/main.java - 2260 bytes (written=2260, should be 2260)
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_820947269 /root/JavaX-Caches/tmp_1705090472/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1705090472/main.java:2: error: class, interface, or enum expected
sclass ReliableExecuteAfterChange is Runnable, AutoCloseable {
^
/root/JavaX-Caches/tmp_1705090472/main.java:4: error: class, interface, or enum expected
IActionScheduler actionScheduler;
^
/root/JavaX-Caches/tmp_1705090472/main.java:5: error: class, interface, or enum expected
bool trigger;
^
/root/JavaX-Caches/tmp_1705090472/main.java:6: error: class, interface, or enum expected
bool running;
^
/root/JavaX-Caches/tmp_1705090472/main.java:7: error: class, interface, or enum expected
ScheduledAction thread;
^
/root/JavaX-Caches/tmp_1705090472/main.java:9: error: class, interface, or enum expected
*(Runnable *action, IActionScheduler *actionScheduler) {}
^
/root/JavaX-Caches/tmp_1705090472/main.java:13: error: class, interface, or enum expected
bool waitBetweenCancelAndTrigger; // make sure the old thread is actually ended
^
/root/JavaX-Caches/tmp_1705090472/main.java:14: error: class, interface, or enum expected
bool cancelOnClose;
^
/root/JavaX-Caches/tmp_1705090472/main.java:15: error: class, interface, or enum expected
int cancelTimeOut = 10000;
^
/root/JavaX-Caches/tmp_1705090472/main.java:17: error: class, interface, or enum expected
synchronized public void trigger aka run aka get() {
^
/root/JavaX-Caches/tmp_1705090472/main.java:20: error: class, interface, or enum expected
trigger = true;
^
/root/JavaX-Caches/tmp_1705090472/main.java:21: error: class, interface, or enum expected
shouldRun = !running())
^
/root/JavaX-Caches/tmp_1705090472/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:26: error: class, interface, or enum expected
synchronized bool running() { ret thread != null; }
^
/root/JavaX-Caches/tmp_1705090472/main.java:31: error: class, interface, or enum expected
waitUntilDone();
^
/root/JavaX-Caches/tmp_1705090472/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:43: error: class, interface, or enum expected
running = true;
^
/root/JavaX-Caches/tmp_1705090472/main.java:44: error: class, interface, or enum expected
trigger = false;
^
/root/JavaX-Caches/tmp_1705090472/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:49: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_1705090472/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:59: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:63: error: class, interface, or enum expected
synchronized { toCancel = thread; }
^
/root/JavaX-Caches/tmp_1705090472/main.java:63: error: class, interface, or enum expected
synchronized { toCancel = thread; }
^
/root/JavaX-Caches/tmp_1705090472/main.java:65: error: class, interface, or enum expected
cancelAndInterruptScheduledAction(toCancel);
^
/root/JavaX-Caches/tmp_1705090472/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:71: error: class, interface, or enum expected
synchronized {
^
/root/JavaX-Caches/tmp_1705090472/main.java:73: error: class, interface, or enum expected
_thread = thread;
^
/root/JavaX-Caches/tmp_1705090472/main.java:74: error: class, interface, or enum expected
threadBeingCancelled = new WeakReference(thread);
^
/root/JavaX-Caches/tmp_1705090472/main.java:75: error: class, interface, or enum expected
thread = null;
^
/root/JavaX-Caches/tmp_1705090472/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:83: error: class, interface, or enum expected
trigger();
^
/root/JavaX-Caches/tmp_1705090472/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:86: error: class, interface, or enum expected
synchronized bool triggered() { ret trigger; }
^
/root/JavaX-Caches/tmp_1705090472/main.java:90: error: class, interface, or enum expected
this;
^
/root/JavaX-Caches/tmp_1705090472/main.java:91: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1705090472/main.java:96: error: class, interface, or enum expected
}
^
39 errors