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

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

/root/JavaX-Caches/tmp_1669899687/main.java:2: error: class, interface, or enum expected please include function stefansChat_onLine. ^ /root/JavaX-Caches/tmp_1669899687/main.java:5: error: class, interface, or enum expected static double smartBotsChat_onLine_shortSafetyDelay = 0.1; ^ /root/JavaX-Caches/tmp_1669899687/main.java:6: error: class, interface, or enum expected static double smartBotsChat_onLine_errorDelay = 10; ^ /root/JavaX-Caches/tmp_1669899687/main.java:7: error: class, interface, or enum expected static int smartBotsChat_onLine_lookback = 0; ^ /root/JavaX-Caches/tmp_1669899687/main.java:8: error: class, interface, or enum expected static int smartBotsChat_onLine_firstRead = -1; ^ /root/JavaX-Caches/tmp_1669899687/main.java:9: error: class, interface, or enum expected static new ThreadLocal smartBotsChat_onLine_onHistoryRead; ^ /root/JavaX-Caches/tmp_1669899687/main.java:11: error: class, interface, or enum expected static void smartBotsChat_onLine(int lookback, O f) { ^ /root/JavaX-Caches/tmp_1669899687/main.java:13: error: class, interface, or enum expected smartBotsChat_onLine(f); ^ /root/JavaX-Caches/tmp_1669899687/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1669899687/main.java:18: error: class, interface, or enum expected thread "Smart Bot's Chat" { ^ /root/JavaX-Caches/tmp_1669899687/main.java:20: error: class, interface, or enum expected bool first = true; ^ /root/JavaX-Caches/tmp_1669899687/main.java:21: error: class, interface, or enum expected while licensed { pcall { ^ /root/JavaX-Caches/tmp_1669899687/main.java:23: error: class, interface, or enum expected if (empty(trim(s))) { ^ /root/JavaX-Caches/tmp_1669899687/main.java:26: error: class, interface, or enum expected continue; ^ /root/JavaX-Caches/tmp_1669899687/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1669899687/main.java:30: error: class, interface, or enum expected int n = getInt(map, 'n); ^ /root/JavaX-Caches/tmp_1669899687/main.java:30: error: unclosed character literal int n = getInt(map, 'n); ^ /root/JavaX-Caches/tmp_1669899687/main.java:31: error: class, interface, or enum expected L msgs = cast get(map, 'msgs); ^ /root/JavaX-Caches/tmp_1669899687/main.java:31: error: unclosed character literal L msgs = cast get(map, 'msgs); ^ /root/JavaX-Caches/tmp_1669899687/main.java:32: error: class, interface, or enum expected for (O msg : msgs) ^ /root/JavaX-Caches/tmp_1669899687/main.java:35: error: class, interface, or enum expected pcallF(f, getString(msg, 'text)); ^ /root/JavaX-Caches/tmp_1669899687/main.java:35: error: unclosed character literal pcallF(f, getString(msg, 'text)); ^ /root/JavaX-Caches/tmp_1669899687/main.java:36: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1669899687/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1669899687/main.java:40: error: class, interface, or enum expected a = n; ^ /root/JavaX-Caches/tmp_1669899687/main.java:41: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_1669899687/main.java:43: error: class, interface, or enum expected sleepSeconds(smartBotsChat_onLine_errorDelay); ^ /root/JavaX-Caches/tmp_1669899687/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1669899687/main.java:48: error: class, interface, or enum expected first = false; ^ /root/JavaX-Caches/tmp_1669899687/main.java:49: error: class, interface, or enum expected } ^ 30 errors