Wrote /root/JavaX-Caches/tmp_717089201/main.java - 1724 bytes (written=1724, should be 1724)
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_915383810 /root/JavaX-Caches/tmp_717089201/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_717089201/main.java:1: error: class, interface, or enum expected
static long contactMyself_timeout = 5000;
^
/root/JavaX-Caches/tmp_717089201/main.java:3: error: class, interface, or enum expected
static boolean contactMyself(S name) {
^
/root/JavaX-Caches/tmp_717089201/main.java:4: error: class, interface, or enum expected
final S pivot = randomID(6);
^
/root/JavaX-Caches/tmp_717089201/main.java:6: error: class, interface, or enum expected
makeAndroid_forcePublic = true;
^
/root/JavaX-Caches/tmp_717089201/main.java:7: error: class, interface, or enum expected
makeAndroid_allowVMInspection = false;
^
/root/JavaX-Caches/tmp_717089201/main.java:8: error: class, interface, or enum expected
Android android = makeAndroid2("", stringfunc { pivot }, false);
^
/root/JavaX-Caches/tmp_717089201/main.java:9: error: class, interface, or enum expected
ServerSocket server = startDialogServer_serverSocket;
^
/root/JavaX-Caches/tmp_717089201/main.java:11: error: class, interface, or enum expected
print("Checking possible name: " + name);
^
/root/JavaX-Caches/tmp_717089201/main.java:12: error: class, interface, or enum expected
boolean result = contactMyself_isItMe(name, android.port, pivot, contactMyself_timeout);
^
/root/JavaX-Caches/tmp_717089201/main.java:13: error: class, interface, or enum expected
print(" => " + result);
^
/root/JavaX-Caches/tmp_717089201/main.java:15: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_717089201/main.java:17: error: class, interface, or enum expected
} catch (IOException e) {
^
/root/JavaX-Caches/tmp_717089201/main.java:19: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_717089201/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_717089201/main.java:26: error: illegal character: '#'
!include #1000915 // Flag class
^
/root/JavaX-Caches/tmp_717089201/main.java:28: error: class, interface, or enum expected
static boolean contactMyself_isItMe(final String name, final int port, final S pivot, long timeout) {
^
/root/JavaX-Caches/tmp_717089201/main.java:28: error: class, interface, or enum expected
static boolean contactMyself_isItMe(final String name, final int port, final S pivot, long timeout) {
^
/root/JavaX-Caches/tmp_717089201/main.java:28: error: class, interface, or enum expected
static boolean contactMyself_isItMe(final String name, final int port, final S pivot, long timeout) {
^
/root/JavaX-Caches/tmp_717089201/main.java:29: error: class, interface, or enum expected
final new Flag ok;
^
/root/JavaX-Caches/tmp_717089201/main.java:30: error: class, interface, or enum expected
final new Flag done;
^
/root/JavaX-Caches/tmp_717089201/main.java:32: error: class, interface, or enum expected
Thread t = new Thread("Talking to " + name + ":" + port) {
^
/root/JavaX-Caches/tmp_717089201/main.java:33: error: class, interface, or enum expected
public void run() {
^
/root/JavaX-Caches/tmp_717089201/main.java:36: error: class, interface, or enum expected
print("Connected to " + name + ":" + port + ".");
^
/root/JavaX-Caches/tmp_717089201/main.java:37: error: class, interface, or enum expected
if (!io.waitForLine())
^
/root/JavaX-Caches/tmp_717089201/main.java:39: error: class, interface, or enum expected
S line = io.readLineNoBlock();
^
/root/JavaX-Caches/tmp_717089201/main.java:40: error: class, interface, or enum expected
io.sendLine("please give pivot");
^
/root/JavaX-Caches/tmp_717089201/main.java:41: error: class, interface, or enum expected
if (!io.waitForLine())
^
/root/JavaX-Caches/tmp_717089201/main.java:43: error: class, interface, or enum expected
line = io.readLineNoBlock();
^
/root/JavaX-Caches/tmp_717089201/main.java:44: error: class, interface, or enum expected
print("Line read: " + quote(line));
^
/root/JavaX-Caches/tmp_717089201/main.java:45: error: class, interface, or enum expected
io.close();
^
/root/JavaX-Caches/tmp_717089201/main.java:46: error: class, interface, or enum expected
if (pivot.equals(line))
^
/root/JavaX-Caches/tmp_717089201/main.java:48: error: class, interface, or enum expected
} catch (RuntimeException e) {
^
/root/JavaX-Caches/tmp_717089201/main.java:50: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_717089201/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_717089201/main.java:55: error: class, interface, or enum expected
t.start();
^
/root/JavaX-Caches/tmp_717089201/main.java:57: error: class, interface, or enum expected
done.waitUntilUp(timeout);
^
/root/JavaX-Caches/tmp_717089201/main.java:59: error: class, interface, or enum expected
t.interrupt();
^
/root/JavaX-Caches/tmp_717089201/main.java:60: error: class, interface, or enum expected
return ok.isUp();
^
/root/JavaX-Caches/tmp_717089201/main.java:61: error: class, interface, or enum expected
}
^
39 errors