Wrote /root/JavaX-Caches/tmp_1646963256/main.java - 1186 bytes (written=1186, should be 1186) 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_1447667108 /root/JavaX-Caches/tmp_1646963256/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1646963256/main.java:7: error: class, interface, or enum expected static int suckWebChat_lastID; ^ /root/JavaX-Caches/tmp_1646963256/main.java:8: error: class, interface, or enum expected static long suckWebChat_lastSuck; ^ /root/JavaX-Caches/tmp_1646963256/main.java:9: error: class, interface, or enum expected static int suckWebChat_room = 1; ^ /root/JavaX-Caches/tmp_1646963256/main.java:11: error: class, interface, or enum expected static L<ChatLine> suckWebChat(S myName) { ^ /root/JavaX-Caches/tmp_1646963256/main.java:13: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646963256/main.java:19: error: class, interface, or enum expected suckWebChat_lastSuck = now(); ^ /root/JavaX-Caches/tmp_1646963256/main.java:20: error: class, interface, or enum expected int n = suckWebChat_lastID == 0 ? suckFirst : 1000; ^ /root/JavaX-Caches/tmp_1646963256/main.java:21: error: class, interface, or enum expected Map data = (Map) jsonDecode(loadPageSilently("tinybrain.de:8080/tb-int/groupchat.json.lines.php?room=" + suckWebChat_room + "&fromID=" + suckWebChat_lastID + "&n=" + n ^ /root/JavaX-Caches/tmp_1646963256/main.java:23: error: class, interface, or enum expected L<Map<S, S>> lines = (L) data.get("lines"); ^ /root/JavaX-Caches/tmp_1646963256/main.java:24: error: class, interface, or enum expected new L<ChatLine> list; ^ /root/JavaX-Caches/tmp_1646963256/main.java:25: error: class, interface, or enum expected for (Map<S, S> m : lines) { ^ /root/JavaX-Caches/tmp_1646963256/main.java:27: error: class, interface, or enum expected l.who = m.get("who"); ^ /root/JavaX-Caches/tmp_1646963256/main.java:28: error: class, interface, or enum expected l.text = m.get("text"); ^ /root/JavaX-Caches/tmp_1646963256/main.java:29: error: class, interface, or enum expected l.isBot = "1".equals(m.get("bot")); ^ /root/JavaX-Caches/tmp_1646963256/main.java:30: error: class, interface, or enum expected l.auth = eq(m.get("auth"), "1"); ^ /root/JavaX-Caches/tmp_1646963256/main.java:31: error: class, interface, or enum expected l.id = parseInt(m.get("id")); ^ /root/JavaX-Caches/tmp_1646963256/main.java:32: error: class, interface, or enum expected l.room = room; ^ /root/JavaX-Caches/tmp_1646963256/main.java:33: error: class, interface, or enum expected if (l.id > suckWebChat_lastID) suckWebChat_lastID = l.id; ^ /root/JavaX-Caches/tmp_1646963256/main.java:34: error: class, interface, or enum expected list.add(l); ^ /root/JavaX-Caches/tmp_1646963256/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1646963256/main.java:37: error: class, interface, or enum expected } ^ 21 errors