Wrote /root/JavaX-Caches/tmp_39675724/main.java - 1743 bytes (written=1743, should be 1743)
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_1547717778 /root/JavaX-Caches/tmp_39675724/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_39675724/main.java:1: error: class, interface, or enum expected
sclass ConnectedInstances {
^
/root/JavaX-Caches/tmp_39675724/main.java:3: error: class, interface, or enum expected
new MultiSet activeConnections;
^
/root/JavaX-Caches/tmp_39675724/main.java:4: error: class, interface, or enum expected
Map recentlyConnected = synchroMap(recentlyConnected_internal);
^
/root/JavaX-Caches/tmp_39675724/main.java:5: error: class, interface, or enum expected
Set set;
^
/root/JavaX-Caches/tmp_39675724/main.java:6: error: class, interface, or enum expected
SimpleLiveValue connected2 = new(Int, 0); // filtered count
^
/root/JavaX-Caches/tmp_39675724/main.java:8: error: class, interface, or enum expected
void setAfterglowInterval(int ms) {
^
/root/JavaX-Caches/tmp_39675724/main.java:10: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_39675724/main.java:16: error: class, interface, or enum expected
synchronized(recentlyConnected) {
^
/root/JavaX-Caches/tmp_39675724/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_39675724/main.java:20: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_39675724/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_39675724/main.java:25: error: class, interface, or enum expected
Set set2 = keys(recentlyConnected);
^
/root/JavaX-Caches/tmp_39675724/main.java:26: error: class, interface, or enum expected
set = mergeSets(set1, set2);
^
/root/JavaX-Caches/tmp_39675724/main.java:27: error: class, interface, or enum expected
int n = l(set);
^
/root/JavaX-Caches/tmp_39675724/main.java:28: error: class, interface, or enum expected
connected2.set(n);
^
/root/JavaX-Caches/tmp_39675724/main.java:29: error: class, interface, or enum expected
print("Updated value to " + n + " (" + l(set1) + "/" + l(set2) + ")");
^
/root/JavaX-Caches/tmp_39675724/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_39675724/main.java:35: error: class, interface, or enum expected
print("Have active connections from " + computerID + ": " + activeConnections.get(computerID));
^
/root/JavaX-Caches/tmp_39675724/main.java:36: error: class, interface, or enum expected
updateValue();
^
/root/JavaX-Caches/tmp_39675724/main.java:37: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_39675724/main.java:43: error: class, interface, or enum expected
print("Disconnected. Have active connections from " + computerID + ": " + activeConnections.get(computerID));
^
/root/JavaX-Caches/tmp_39675724/main.java:44: error: class, interface, or enum expected
recentlyConnected.put(computerID, true);
^
/root/JavaX-Caches/tmp_39675724/main.java:45: error: class, interface, or enum expected
updateValue();
^
/root/JavaX-Caches/tmp_39675724/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_39675724/main.java:49: error: class, interface, or enum expected
Set set() { ret set; }
^
/root/JavaX-Caches/tmp_39675724/main.java:50: error: class, interface, or enum expected
int value() { ret connected2!; }
^
26 errors