Wrote /root/JavaX-Caches/tmp_613949015/main.java - 10473 bytes (written=10473, should be 10473)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_451750958 /root/JavaX-Caches/tmp_613949015/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_613949015/main.java:1: error: class, interface, or enum expected
!7
^
/root/JavaX-Caches/tmp_613949015/main.java:4: error: class, interface, or enum expected
static long timeout = 30000+10000; // idle time + latency
^
/root/JavaX-Caches/tmp_613949015/main.java:5: error: class, interface, or enum expected
static int port = 6000;
^
/root/JavaX-Caches/tmp_613949015/main.java:6: error: class, interface, or enum expected
static int maxLineLength = 10*1024*1024; // change #1020500 too if you change this
^
/root/JavaX-Caches/tmp_613949015/main.java:11: error: class, interface, or enum expected
static ConnectedInstances cI;
^
/root/JavaX-Caches/tmp_613949015/main.java:12: error: class, interface, or enum expected
static ReliableSingleThread rst = new(r update);
^
/root/JavaX-Caches/tmp_613949015/main.java:13: error: class, interface, or enum expected
static int theNumber;
^
/root/JavaX-Caches/tmp_613949015/main.java:14: error: class, interface, or enum expected
static Map dataMapper = synchroMap();
^
/root/JavaX-Caches/tmp_613949015/main.java:15: error: class, interface, or enum expected
static ServerSocketChannel serverChannel;
^
/root/JavaX-Caches/tmp_613949015/main.java:16: error: class, interface, or enum expected
static Selector selector;
^
/root/JavaX-Caches/tmp_613949015/main.java:17: error: class, interface, or enum expected
static Map channels = synchroMap();
^
/root/JavaX-Caches/tmp_613949015/main.java:18: error: class, interface, or enum expected
static Lock channelsLock = lock();
^
/root/JavaX-Caches/tmp_613949015/main.java:19: error: class, interface, or enum expected
static java.util.Timer mainTimer;
^
/root/JavaX-Caches/tmp_613949015/main.java:21: error: class, interface, or enum expected
sclass State {
^
/root/JavaX-Caches/tmp_613949015/main.java:23: error: class, interface, or enum expected
int countSeen = -1;
^
/root/JavaX-Caches/tmp_613949015/main.java:24: error: class, interface, or enum expected
new LineBuffer lineBuffer;
^
/root/JavaX-Caches/tmp_613949015/main.java:25: error: class, interface, or enum expected
long lastMessage = sysNow();
^
/root/JavaX-Caches/tmp_613949015/main.java:26: error: class, interface, or enum expected
Map subbedChannels = synchroLinkedHashMap();
^
/root/JavaX-Caches/tmp_613949015/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:31: error: class, interface, or enum expected
Set sockets = synchroSet();
^
/root/JavaX-Caches/tmp_613949015/main.java:32: error: class, interface, or enum expected
Map dataMapper = synchroMap();
^
/root/JavaX-Caches/tmp_613949015/main.java:33: error: class, interface, or enum expected
Lock lock = lock();
^
/root/JavaX-Caches/tmp_613949015/main.java:35: error: class, interface, or enum expected
void addSocket(SocketChannel socket) {
^
/root/JavaX-Caches/tmp_613949015/main.java:37: error: class, interface, or enum expected
sockets.add(socket);
^
/root/JavaX-Caches/tmp_613949015/main.java:38: error: class, interface, or enum expected
initialMessage(socket);
^
/root/JavaX-Caches/tmp_613949015/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:43: error: class, interface, or enum expected
sockets.remove(socket);
^
/root/JavaX-Caches/tmp_613949015/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:54: error: class, interface, or enum expected
void initialMessage(SocketChannel socket) {
^
/root/JavaX-Caches/tmp_613949015/main.java:56: error: class, interface, or enum expected
sendTo(socket);
^
/root/JavaX-Caches/tmp_613949015/main.java:57: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:72: error: class, interface, or enum expected
void initialMessage(SocketChannel socket) {
^
/root/JavaX-Caches/tmp_613949015/main.java:74: error: class, interface, or enum expected
sendTo(socket);
^
/root/JavaX-Caches/tmp_613949015/main.java:75: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:90: error: class, interface, or enum expected
void handleLine(S line, SocketChannel socket) {
^
/root/JavaX-Caches/tmp_613949015/main.java:92: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:96: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:100: error: class, interface, or enum expected
while ((msg = syncPopFirst(msgs)) != null) {
^
/root/JavaX-Caches/tmp_613949015/main.java:102: error: class, interface, or enum expected
print("Chat send: " + shorten(quoted, 20));
^
/root/JavaX-Caches/tmp_613949015/main.java:103: error: class, interface, or enum expected
quoted = "chat:" + quoted;
^
/root/JavaX-Caches/tmp_613949015/main.java:104: error: class, interface, or enum expected
for (SocketChannel s : sockets)
^
/root/JavaX-Caches/tmp_613949015/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:112: error: class, interface, or enum expected
new MultiMap clients; // key: computer ID
^
/root/JavaX-Caches/tmp_613949015/main.java:114: error: class, interface, or enum expected
void initialMessage(SocketChannel socket) {
^
/root/JavaX-Caches/tmp_613949015/main.java:116: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:120: error: class, interface, or enum expected
clients.remove(computerID(socket), socket);
^
/root/JavaX-Caches/tmp_613949015/main.java:121: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:126: error: class, interface, or enum expected
S computerID = takeFirst(line, i);
^
/root/JavaX-Caches/tmp_613949015/main.java:127: error: class, interface, or enum expected
while licensed {
^
/root/JavaX-Caches/tmp_613949015/main.java:129: error: class, interface, or enum expected
if (socket2 == null) break;
^
/root/JavaX-Caches/tmp_613949015/main.java:130: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_613949015/main.java:132: error: class, interface, or enum expected
if (l(line) >= 10000)
^
/root/JavaX-Caches/tmp_613949015/main.java:134: error: class, interface, or enum expected
sendLineToSocket(socket2, prefix + "privately from " + sender + ": " + substring(line, i+1));
^
/root/JavaX-Caches/tmp_613949015/main.java:135: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_613949015/main.java:136: error: class, interface, or enum expected
} catch e {
^
/root/JavaX-Caches/tmp_613949015/main.java:138: error: class, interface, or enum expected
clients.remove(computerID, socket2);
^
/root/JavaX-Caches/tmp_613949015/main.java:139: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:148: error: class, interface, or enum expected
*() {
^
/root/JavaX-Caches/tmp_613949015/main.java:149: error: illegal character: '#'
tail = manualTailFile_newOnly(programFile(#1019175, "changes.log"),
^
/root/JavaX-Caches/tmp_613949015/main.java:151: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:155: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:159: error: class, interface, or enum expected
line = assertNoLineBreaks(line);
^
/root/JavaX-Caches/tmp_613949015/main.java:160: error: class, interface, or enum expected
print("Sockets: " + l(sockets));
^
/root/JavaX-Caches/tmp_613949015/main.java:162: error: class, interface, or enum expected
for (SocketChannel s : sockets)
^
/root/JavaX-Caches/tmp_613949015/main.java:164: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:169: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:173: error: class, interface, or enum expected
ret state == null ? null : state.computerID;
^
/root/JavaX-Caches/tmp_613949015/main.java:174: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:178: error: class, interface, or enum expected
cI.setAfterglowInterval(1000);
^
/root/JavaX-Caches/tmp_613949015/main.java:179: error: class, interface, or enum expected
cI.connected2.onChange(rst);
^
/root/JavaX-Caches/tmp_613949015/main.java:180: error: class, interface, or enum expected
cI.start();
^
/root/JavaX-Caches/tmp_613949015/main.java:182: error: class, interface, or enum expected
selector = Selector.open();
^
/root/JavaX-Caches/tmp_613949015/main.java:183: error: class, interface, or enum expected
serverChannel = ServerSocketChannel.open();
^
/root/JavaX-Caches/tmp_613949015/main.java:184: error: class, interface, or enum expected
serverChannel.configureBlocking(false);
^
/root/JavaX-Caches/tmp_613949015/main.java:186: error: class, interface, or enum expected
InetSocketAddress sockAddr = new InetSocketAddress(port);
^
/root/JavaX-Caches/tmp_613949015/main.java:187: error: class, interface, or enum expected
serverChannel.socket().bind(sockAddr);
^
/root/JavaX-Caches/tmp_613949015/main.java:188: error: class, interface, or enum expected
serverChannel.register(selector, SelectionKey.OP_ACCEPT);
^
/root/JavaX-Caches/tmp_613949015/main.java:190: error: class, interface, or enum expected
thread "Server Accept Loop" { acceptLoop(); }
^
/root/JavaX-Caches/tmp_613949015/main.java:190: error: class, interface, or enum expected
thread "Server Accept Loop" { acceptLoop(); }
^
/root/JavaX-Caches/tmp_613949015/main.java:195: error: class, interface, or enum expected
if (state != null && sysTime() >= state.lastMessage+timeout) pcall {
^
/root/JavaX-Caches/tmp_613949015/main.java:197: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:201: error: class, interface, or enum expected
channel.update();
^
/root/JavaX-Caches/tmp_613949015/main.java:202: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:204: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:209: error: class, interface, or enum expected
for (SocketChannel socket : keys(getAndClearMap(dataMapper))) pcall {
^
/root/JavaX-Caches/tmp_613949015/main.java:211: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:219: error: class, interface, or enum expected
Iterator keys = selector.selectedKeys().iterator();
^
/root/JavaX-Caches/tmp_613949015/main.java:220: error: class, interface, or enum expected
while (keys.hasNext()) {
^
/root/JavaX-Caches/tmp_613949015/main.java:222: error: class, interface, or enum expected
keys.remove();
^
/root/JavaX-Caches/tmp_613949015/main.java:224: error: class, interface, or enum expected
if (!key.isValid()) continue;
^
/root/JavaX-Caches/tmp_613949015/main.java:225: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_613949015/main.java:228: error: class, interface, or enum expected
else if (key.isReadable())
^
/root/JavaX-Caches/tmp_613949015/main.java:230: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_613949015/main.java:238: error: class, interface, or enum expected
SocketChannel channel = serverChannel.accept();
^
/root/JavaX-Caches/tmp_613949015/main.java:239: error: class, interface, or enum expected
channel.configureBlocking(false);
^
/root/JavaX-Caches/tmp_613949015/main.java:240: error: class, interface, or enum expected
Socket actualSocket = channel.socket();
^
100 errors
only showing the first 100 errors, of 176 total; use -Xmaxerrs if you would like to see more