Wrote /root/JavaX-Caches/tmp_1016478159/main.java - 1967 bytes (written=1967, should be 1967)
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_994048371 /root/JavaX-Caches/tmp_1016478159/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1016478159/main.java:1: error: class, interface, or enum expected
static new ThreadLocal WebSocketHTTPD_headers;
^
/root/JavaX-Caches/tmp_1016478159/main.java:2: error: class, interface, or enum expected
static new ThreadLocal WebSocketHTTPD_current;
^
/root/JavaX-Caches/tmp_1016478159/main.java:4: error: class, interface, or enum expected
sclass WebSocketHTTPD extends NanoWebSocketServer {
^
/root/JavaX-Caches/tmp_1016478159/main.java:7: error: class, interface, or enum expected
nanohttpd_socketTimeoutFix();
^
/root/JavaX-Caches/tmp_1016478159/main.java:8: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1016478159/main.java:13: error: class, interface, or enum expected
volatile long requests;
^
/root/JavaX-Caches/tmp_1016478159/main.java:14: error: class, interface, or enum expected
bool printServes = true;
^
/root/JavaX-Caches/tmp_1016478159/main.java:16: error: class, interface, or enum expected
sclass Serving {
^
/root/JavaX-Caches/tmp_1016478159/main.java:18: error: class, interface, or enum expected
SS header, parms, files;
^
/root/JavaX-Caches/tmp_1016478159/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1016478159/main.java:23: error: class, interface, or enum expected
public Response serve(S uri, Method method,
^
/root/JavaX-Caches/tmp_1016478159/main.java:26: error: class, interface, or enum expected
temp tempSetThreadLocal(WebSocketHTTPD_current, this);
^
/root/JavaX-Caches/tmp_1016478159/main.java:27: error: class, interface, or enum expected
Serving serving = nu(Serving.class, +uri, +header, +parms, +files);
^
/root/JavaX-Caches/tmp_1016478159/main.java:27: error: expected
Serving serving = nu(Serving.class, +uri, +header, +parms, +files);
^
/root/JavaX-Caches/tmp_1016478159/main.java:28: error: class, interface, or enum expected
currentlyServing.add(serving);
^
/root/JavaX-Caches/tmp_1016478159/main.java:29: error: class, interface, or enum expected
pcallF(onServe, serving);
^
/root/JavaX-Caches/tmp_1016478159/main.java:30: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1016478159/main.java:32: error: class, interface, or enum expected
if (printServes)
^
/root/JavaX-Caches/tmp_1016478159/main.java:41: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1016478159/main.java:43: error: class, interface, or enum expected
if (response != null) ret response;
^
/root/JavaX-Caches/tmp_1016478159/main.java:44: error: class, interface, or enum expected
O html;
^
/root/JavaX-Caches/tmp_1016478159/main.java:45: error: class, interface, or enum expected
WebSocketHTTPD_headers.set(header);
^
/root/JavaX-Caches/tmp_1016478159/main.java:46: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1016478159/main.java:48: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_1016478159/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1016478159/main.java:54: error: class, interface, or enum expected
ret serve404();
^
/root/JavaX-Caches/tmp_1016478159/main.java:55: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_1016478159/main.java:57: error: class, interface, or enum expected
ret serveHTML("ERROR.");
^
/root/JavaX-Caches/tmp_1016478159/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1016478159/main.java:61: error: class, interface, or enum expected
currentlyServing.remove(serving);
^
/root/JavaX-Caches/tmp_1016478159/main.java:62: error: class, interface, or enum expected
}
^
31 errors