Wrote /root/JavaX-Caches/tmp_420027098/main.java - 5247 bytes (written=5247, should be 5247)
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_1825605231 /root/JavaX-Caches/tmp_420027098/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_420027098/main.java:1: error: class, interface, or enum expected
sclass NotifyingBlockingThreadPoolExecutor extends ThreadPoolExecutor {
^
/root/JavaX-Caches/tmp_420027098/main.java:5: error: class, interface, or enum expected
private Synchronizer synchronizer = new Synchronizer();
^
/root/JavaX-Caches/tmp_420027098/main.java:7: error: class, interface, or enum expected
public NotifyingBlockingThreadPoolExecutor(int poolSize, int queueSize, long keepAliveTime, TimeUnit keepAliveTimeUnit, long maxBlockingTime, TimeUnit maxBlockingTimeUnit, Callable blockingTimeCallback) {
^
/root/JavaX-Caches/tmp_420027098/main.java:16: error: class, interface, or enum expected
super.allowCoreThreadTimeOut(true);
^
/root/JavaX-Caches/tmp_420027098/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:19: error: class, interface, or enum expected
public NotifyingBlockingThreadPoolExecutor(int poolSize, int queueSize, long keepAliveTime, TimeUnit unit) {
^
/root/JavaX-Caches/tmp_420027098/main.java:28: error: class, interface, or enum expected
super.allowCoreThreadTimeOut(true); // Time out the core threads.
^
/root/JavaX-Caches/tmp_420027098/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:32: error: class, interface, or enum expected
public void execute(Runnable task) {
^
/root/JavaX-Caches/tmp_420027098/main.java:35: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_420027098/main.java:37: error: class, interface, or enum expected
} catch(RuntimeException e) { // specifically handle RejectedExecutionException
^
/root/JavaX-Caches/tmp_420027098/main.java:39: error: class, interface, or enum expected
throw e;
^
/root/JavaX-Caches/tmp_420027098/main.java:40: error: class, interface, or enum expected
} catch(Error e) {
^
/root/JavaX-Caches/tmp_420027098/main.java:42: error: class, interface, or enum expected
throw e;
^
/root/JavaX-Caches/tmp_420027098/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:47: error: class, interface, or enum expected
protected void afterExecute(Runnable r, Throwable t) {
^
/root/JavaX-Caches/tmp_420027098/main.java:51: error: class, interface, or enum expected
synchronized(this) {
^
/root/JavaX-Caches/tmp_420027098/main.java:53: error: class, interface, or enum expected
if (tasksInProcess.intValue() == 0) {
^
/root/JavaX-Caches/tmp_420027098/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:60: error: class, interface, or enum expected
public void setCorePoolSize(int corePoolSize) {
^
/root/JavaX-Caches/tmp_420027098/main.java:62: error: class, interface, or enum expected
super.setMaximumPoolSize(corePoolSize);
^
/root/JavaX-Caches/tmp_420027098/main.java:63: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:66: error: class, interface, or enum expected
public void setMaximumPoolSize(int maximumPoolSize) {
^
/root/JavaX-Caches/tmp_420027098/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:70: error: class, interface, or enum expected
public void setRejectedExecutionHandler(RejectedExecutionHandler handler) {
^
/root/JavaX-Caches/tmp_420027098/main.java:72: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:74: error: class, interface, or enum expected
public void await() throws InterruptedException {
^
/root/JavaX-Caches/tmp_420027098/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:78: error: class, interface, or enum expected
public boolean await(long timeout, TimeUnit timeUnit) throws InterruptedException {
^
/root/JavaX-Caches/tmp_420027098/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_420027098/main.java:194: error: class, interface, or enum expected
}
^
31 errors