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

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

/root/JavaX-Caches/tmp_1785690241/main.java:1: error: class, interface, or enum expected !7 ^ /root/JavaX-Caches/tmp_1785690241/main.java:16: error: class, interface, or enum expected S uri, subURI; ^ /root/JavaX-Caches/tmp_1785690241/main.java:17: error: class, interface, or enum expected SS params; ^ /root/JavaX-Caches/tmp_1785690241/main.java:18: error: class, interface, or enum expected S cookie; ^ /root/JavaX-Caches/tmp_1785690241/main.java:19: error: class, interface, or enum expected Session session; ^ /root/JavaX-Caches/tmp_1785690241/main.java:21: error: class, interface, or enum expected *(NanoHTTPD.IHTTPSession *httpSession, S *uri, SS *params) {} ^ /root/JavaX-Caches/tmp_1785690241/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:27: error: class, interface, or enum expected S cookie() { ret cookie; } ^ /root/JavaX-Caches/tmp_1785690241/main.java:29: error: class, interface, or enum expected S domain() { ret mapGet(httpSession.getHeaders(), "host"); } ^ /root/JavaX-Caches/tmp_1785690241/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:37: error: class, interface, or enum expected File jsonFile = googleClientSecretFileForDomain(domain); ^ /root/JavaX-Caches/tmp_1785690241/main.java:38: error: class, interface, or enum expected if (!fileExists(jsonFile)) null; ^ /root/JavaX-Caches/tmp_1785690241/main.java:40: error: class, interface, or enum expected Map map = decodeJSONMap(loadTextFile(jsonFile)); ^ /root/JavaX-Caches/tmp_1785690241/main.java:41: error: class, interface, or enum expected map = (Map) map.get("web"); ^ /root/JavaX-Caches/tmp_1785690241/main.java:42: error: class, interface, or enum expected ret (S) map.get("client_id"); ^ /root/JavaX-Caches/tmp_1785690241/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:53: error: class, interface, or enum expected toString { ret "[cookieUser " + md5(cookie) + "]"; } ^ /root/JavaX-Caches/tmp_1785690241/main.java:53: error: class, interface, or enum expected toString { ret "[cookieUser " + md5(cookie) + "]"; } ^ /root/JavaX-Caches/tmp_1785690241/main.java:58: error: class, interface, or enum expected S googleEmail, googleFirstName, googleLastName; ^ /root/JavaX-Caches/tmp_1785690241/main.java:59: error: class, interface, or enum expected bool googleEmailVerified; ^ /root/JavaX-Caches/tmp_1785690241/main.java:61: error: class, interface, or enum expected toString { ret googleFirstName + " " + googleLastName; } ^ /root/JavaX-Caches/tmp_1785690241/main.java:61: error: class, interface, or enum expected toString { ret googleFirstName + " " + googleLastName; } ^ /root/JavaX-Caches/tmp_1785690241/main.java:66: error: class, interface, or enum expected User user; ^ /root/JavaX-Caches/tmp_1785690241/main.java:68: error: class, interface, or enum expected User user() { ^ /root/JavaX-Caches/tmp_1785690241/main.java:71: error: class, interface, or enum expected ret user; ^ /root/JavaX-Caches/tmp_1785690241/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:77: error: illegal character: '#' !include #1029492 // HTTP+HTTPS servers with WebSockets ^ /root/JavaX-Caches/tmp_1785690241/main.java:81: error: class, interface, or enum expected start { ^ /root/JavaX-Caches/tmp_1785690241/main.java:82: error: unclosed character literal dbIndexing(Session, 'cookie, CookieUser, 'cookie, GoogleUser, 'googleEmail); ^ /root/JavaX-Caches/tmp_1785690241/main.java:82: error: unclosed character literal dbIndexing(Session, 'cookie, CookieUser, 'cookie, GoogleUser, 'googleEmail); ^ /root/JavaX-Caches/tmp_1785690241/main.java:82: error: unclosed character literal dbIndexing(Session, 'cookie, CookieUser, 'cookie, GoogleUser, 'googleEmail); ^ /root/JavaX-Caches/tmp_1785690241/main.java:83: error: class, interface, or enum expected dm_restartOnFieldChange enabled(); ^ /root/JavaX-Caches/tmp_1785690241/main.java:84: error: class, interface, or enum expected if (!enabled) ret; ^ /root/JavaX-Caches/tmp_1785690241/main.java:85: error: class, interface, or enum expected set redirectHttpToHttps; ^ /root/JavaX-Caches/tmp_1785690241/main.java:86: error: class, interface, or enum expected start_webServers(serverSocketFactory_botCompanyEtc()); ^ /root/JavaX-Caches/tmp_1785690241/main.java:87: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:91: error: class, interface, or enum expected print("Making WebSocket. domain: " + domain); ^ /root/JavaX-Caches/tmp_1785690241/main.java:92: error: class, interface, or enum expected WebSocket ws = new(handshake); ^ /root/JavaX-Caches/tmp_1785690241/main.java:94: error: class, interface, or enum expected S module = moduleForDomain(domain); ^ /root/JavaX-Caches/tmp_1785690241/main.java:95: error: class, interface, or enum expected if (nempty(module)) pcall { ^ /root/JavaX-Caches/tmp_1785690241/main.java:96: error: unclosed character literal dm_callOpt(module, 'handleWebSocket, ws); ^ /root/JavaX-Caches/tmp_1785690241/main.java:97: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1785690241/main.java:100: error: class, interface, or enum expected ret ws; ^ /root/JavaX-Caches/tmp_1785690241/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:105: error: class, interface, or enum expected if (spamCheck.b) { ^ /root/JavaX-Caches/tmp_1785690241/main.java:107: error: class, interface, or enum expected ret print("go away"); ^ /root/JavaX-Caches/tmp_1785690241/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:113: error: class, interface, or enum expected if (startsWith(uri, "/.well-known/")) ^ /root/JavaX-Caches/tmp_1785690241/main.java:118: error: class, interface, or enum expected WebRequest req = new(NanoHTTPD.currentSession!, uri, params); ^ /root/JavaX-Caches/tmp_1785690241/main.java:119: error: class, interface, or enum expected req.cookie = nu ServeHttp_CookieHandler(verbose := true).handle(); ^ /root/JavaX-Caches/tmp_1785690241/main.java:122: error: class, interface, or enum expected req.session = nempty(req.cookie) ? uniq Session(cookie := req.cookie) : null; ^ /root/JavaX-Caches/tmp_1785690241/main.java:123: error: class, interface, or enum expected print(session := req.session); ^ /root/JavaX-Caches/tmp_1785690241/main.java:127: error: class, interface, or enum expected if (eqic(uri, "/google-verify")) ^ /root/JavaX-Caches/tmp_1785690241/main.java:132: error: class, interface, or enum expected S uri2 = appendSlash(uri); ^ /root/JavaX-Caches/tmp_1785690241/main.java:133: error: class, interface, or enum expected new Matches m; ^ /root/JavaX-Caches/tmp_1785690241/main.java:134: error: class, interface, or enum expected if (startsWith(uri2, "/db/", m)) { ^ /root/JavaX-Caches/tmp_1785690241/main.java:136: error: class, interface, or enum expected while licensed { ^ /root/JavaX-Caches/tmp_1785690241/main.java:138: error: class, interface, or enum expected if (mod == null ^ /root/JavaX-Caches/tmp_1785690241/main.java:142: error: class, interface, or enum expected sleep(100); ^ /root/JavaX-Caches/tmp_1785690241/main.java:143: error: class, interface, or enum expected } else break; ^ /root/JavaX-Caches/tmp_1785690241/main.java:144: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:147: error: unclosed character literal dm_call(mod, 'setEleu, mc()); ^ /root/JavaX-Caches/tmp_1785690241/main.java:148: error: class, interface, or enum expected req.subURI = "/" + m.rest(); ^ /root/JavaX-Caches/tmp_1785690241/main.java:149: error: class, interface, or enum expected ret dm_call(mod, 'html, req); ^ /root/JavaX-Caches/tmp_1785690241/main.java:149: error: unclosed character literal ret dm_call(mod, 'html, req); ^ /root/JavaX-Caches/tmp_1785690241/main.java:150: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:152: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:155: error: class, interface, or enum expected if (nempty(module)) { ^ /root/JavaX-Caches/tmp_1785690241/main.java:156: error: unclosed character literal dm_call(module, 'setEleu, mc()); ^ /root/JavaX-Caches/tmp_1785690241/main.java:157: error: class, interface, or enum expected ret dm_call(module, 'html, req); ^ /root/JavaX-Caches/tmp_1785690241/main.java:157: error: unclosed character literal ret dm_call(module, 'html, req); ^ /root/JavaX-Caches/tmp_1785690241/main.java:158: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:161: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:174: error: class, interface, or enum expected try answer dm_findModuleWithParams("#1028961/Cruddie", enabled := true); ^ /root/JavaX-Caches/tmp_1785690241/main.java:176: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_1785690241/main.java:177: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1785690241/main.java:181: error: class, interface, or enum expected S email = payload == null ? null : payload.getEmail(); ^ /root/JavaX-Caches/tmp_1785690241/main.java:182: error: class, interface, or enum expected if (empty(email)) ret print("google-verify", "No"); ^ /root/JavaX-Caches/tmp_1785690241/main.java:185: error: class, interface, or enum expected GoogleUser user = uniqCI_sync GoogleUser(googleEmail := email); ^ /root/JavaX-Caches/tmp_1785690241/main.java:186: error: class, interface, or enum expected cset(user, ^ /root/JavaX-Caches/tmp_1785690241/main.java:193: error: class, interface, or enum expected cset(req.session, +user); ^ /root/JavaX-Caches/tmp_1785690241/main.java:195: error: class, interface, or enum expected ret print("google-verify", payload.getEmail() + " " + (payload.getEmailVerified() ? "(verified)" : "(not verified)")); ^ /root/JavaX-Caches/tmp_1785690241/main.java:196: error: class, interface, or enum expected } ^ 84 errors