Wrote /root/JavaX-Caches/tmp_2120188073/main.java - 1638 bytes (written=1638, should be 1638)
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_142290786 /root/JavaX-Caches/tmp_2120188073/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_2120188073/main.java:4: error: class, interface, or enum expected
switchable int httpPort = 80;
^
/root/JavaX-Caches/tmp_2120188073/main.java:5: error: class, interface, or enum expected
switchable int httpsPort = 443;
^
/root/JavaX-Caches/tmp_2120188073/main.java:6: error: class, interface, or enum expected
transient autoDispose WebSocketHTTPD httpServer;
^
/root/JavaX-Caches/tmp_2120188073/main.java:7: error: class, interface, or enum expected
transient autoDispose WebSocketHTTPD httpsServer;
^
/root/JavaX-Caches/tmp_2120188073/main.java:8: error: class, interface, or enum expected
switchable bool redirectHttpToHttps;
^
/root/JavaX-Caches/tmp_2120188073/main.java:10: error: class, interface, or enum expected
transient new HTTPSpamBlocker1 spamBlocker;
^
/root/JavaX-Caches/tmp_2120188073/main.java:12: error: class, interface, or enum expected
void start_webServers(File keyStore, S passphrase) {
^
/root/JavaX-Caches/tmp_2120188073/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120188073/main.java:19: error: class, interface, or enum expected
_httpServer.enter = lambda0 enter;
^
/root/JavaX-Caches/tmp_2120188073/main.java:20: error: class, interface, or enum expected
_httpServer.serveFunction = func(S uri, SS parms) {
^
/root/JavaX-Caches/tmp_2120188073/main.java:26: error: class, interface, or enum expected
_httpServer.start();
^
/root/JavaX-Caches/tmp_2120188073/main.java:27: error: class, interface, or enum expected
print("HTTP server started on port " + _httpServer.getPort());
^
/root/JavaX-Caches/tmp_2120188073/main.java:28: error: class, interface, or enum expected
httpServer = _httpServer;
^
/root/JavaX-Caches/tmp_2120188073/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120188073/main.java:32: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_2120188073/main.java:34: error: class, interface, or enum expected
_httpsServer.enter = lambda0 enter;
^
/root/JavaX-Caches/tmp_2120188073/main.java:35: error: class, interface, or enum expected
_httpsServer.makeSecure(sslSocketFactory);
^
/root/JavaX-Caches/tmp_2120188073/main.java:36: error: class, interface, or enum expected
_httpsServer.serveFunction = func(S uri, SS parms) { webServe(uri, parms) };
^
/root/JavaX-Caches/tmp_2120188073/main.java:37: error: class, interface, or enum expected
_httpsServer.start();
^
/root/JavaX-Caches/tmp_2120188073/main.java:38: error: class, interface, or enum expected
print("HTTPS server started on port " + _httpsServer.getPort());
^
/root/JavaX-Caches/tmp_2120188073/main.java:39: error: class, interface, or enum expected
httpsServer = _httpsServer;
^
/root/JavaX-Caches/tmp_2120188073/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_2120188073/main.java:43: error: class, interface, or enum expected
Cl webServers() { ret llNotNulls(httpServer, httpsServer); }
^
23 errors