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

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

/root/JavaX-Caches/tmp_108891797/main.java:1: error: class, interface, or enum expected sbool ai_html_wordThoughts_showMem = true; ^ /root/JavaX-Caches/tmp_108891797/main.java:2: error: class, interface, or enum expected static int ai_html_wordThoughts_searchMax = 100; ^ /root/JavaX-Caches/tmp_108891797/main.java:3: error: class, interface, or enum expected static int ai_html_wordThoughts_nodesMax_default = 1000; ^ /root/JavaX-Caches/tmp_108891797/main.java:4: error: class, interface, or enum expected static new ThreadLocal<Int> ai_html_wordThoughts_nodesMax; ^ /root/JavaX-Caches/tmp_108891797/main.java:6: error: class, interface, or enum expected static S ai_html_wordThoughts(S selectedWord) { ^ /root/JavaX-Caches/tmp_108891797/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_108891797/main.java:12: error: class, interface, or enum expected int shrt = 80; // max length of entries shown ^ /root/JavaX-Caches/tmp_108891797/main.java:13: error: class, interface, or enum expected Int oldShrt = setThreadLocal(ai_html_shortenTextForDisplay_length, shrt); ^ /root/JavaX-Caches/tmp_108891797/main.java:14: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_108891797/main.java:16: error: class, interface, or enum expected S selectedWord = first(selectedWords); ^ /root/JavaX-Caches/tmp_108891797/main.java:17: error: class, interface, or enum expected S title = h3(htmlencode(selectedWord)); ^ /root/JavaX-Caches/tmp_108891797/main.java:19: error: class, interface, or enum expected new Matches m; ^ /root/JavaX-Caches/tmp_108891797/main.java:20: error: class, interface, or enum expected if (swic_trim(selectedWord, "[search]", m)) { ^ /root/JavaX-Caches/tmp_108891797/main.java:22: error: class, interface, or enum expected L<S> l = indexedTerms_scoredSearch(m.rest(), max+1); ^ /root/JavaX-Caches/tmp_108891797/main.java:23: error: class, interface, or enum expected ret title ^ /root/JavaX-Caches/tmp_108891797/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_108891797/main.java:29: error: class, interface, or enum expected int max = or(ai_html_wordThoughts_nodesMax!, ai_html_wordThoughts_nodesMax_default); ^ /root/JavaX-Caches/tmp_108891797/main.java:30: error: class, interface, or enum expected Set<S> ignoredWebs = ai_ignoredWebs(); ^ /root/JavaX-Caches/tmp_108891797/main.java:31: error: class, interface, or enum expected for (S word : selectedWords) { ^ /root/JavaX-Caches/tmp_108891797/main.java:33: error: class, interface, or enum expected if (l(nodes) >= max) break; ^ /root/JavaX-Caches/tmp_108891797/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_108891797/main.java:36: error: class, interface, or enum expected truncateList(nodes, max); ^ /root/JavaX-Caches/tmp_108891797/main.java:38: error: class, interface, or enum expected L<WebRelation> rel1 = web_dropConfirmedPossibles(web_collectBackwardRelations(nodes)); ^ /root/JavaX-Caches/tmp_108891797/main.java:39: error: class, interface, or enum expected L<WebRelation> rel2 = web_dropConfirmedPossibles(web_collectForwardRelations(nodes)); ^ /root/JavaX-Caches/tmp_108891797/main.java:41: error: class, interface, or enum expected final MultiMap<S> mm = orderedMultiMap(); // HTML -> web id ^ /root/JavaX-Caches/tmp_108891797/main.java:43: error: class, interface, or enum expected for (bool invalid : ll(false, true)) { ^ /root/JavaX-Caches/tmp_108891797/main.java:46: error: class, interface, or enum expected for (WebRelation r : ai_sortRelationsByImportance(ai_filterInvalid(invalid, rel1))) ^ /root/JavaX-Caches/tmp_108891797/main.java:49: error: class, interface, or enum expected if (!invalid) ^ /root/JavaX-Caches/tmp_108891797/main.java:53: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_108891797/main.java:56: error: class, interface, or enum expected Web web = ai_getWebFromTerm(selectedWord); ^ /root/JavaX-Caches/tmp_108891797/main.java:57: error: class, interface, or enum expected if (web != null) { ^ /root/JavaX-Caches/tmp_108891797/main.java:59: error: class, interface, or enum expected bool inv = ai_isInvalidWeb(web); ^ /root/JavaX-Caches/tmp_108891797/main.java:60: error: class, interface, or enum expected l1.add(inv ? "is an " + ahref(link, "invalid web") : "is a " + ahref(link, "web")); ^ /root/JavaX-Caches/tmp_108891797/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_108891797/main.java:66: error: class, interface, or enum expected long mem = ai_html_wordThoughts_showMem ? memoryUsedAfterLastGC() : 0; ^ /root/JavaX-Caches/tmp_108891797/main.java:67: error: class, interface, or enum expected ret title ^ /root/JavaX-Caches/tmp_108891797/main.java:73: error: class, interface, or enum expected ret s + " [" + joinWithComma(map ai_html_linkedWebWithThumbs(webIDs)) + "]"; ^ /root/JavaX-Caches/tmp_108891797/main.java:74: error: class, interface, or enum expected }) ^ /root/JavaX-Caches/tmp_108891797/main.java:79: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_108891797/main.java:81: error: class, interface, or enum expected } ^ 40 errors