Wrote /root/JavaX-Caches/tmp_1570051649/main.java - 1809 bytes (written=1809, should be 1809)
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_1124103816 /root/JavaX-Caches/tmp_1570051649/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1570051649/main.java:1: error: class, interface, or enum expected
sclass HTMLSuggestor {
^
/root/JavaX-Caches/tmp_1570051649/main.java:3: error: class, interface, or enum expected
S ajaxURL = "";
^
/root/JavaX-Caches/tmp_1570051649/main.java:4: error: class, interface, or enum expected
int delay = 1000;
^
/root/JavaX-Caches/tmp_1570051649/main.java:5: error: class, interface, or enum expected
S installTriggers = "";
^
/root/JavaX-Caches/tmp_1570051649/main.java:6: error: class, interface, or enum expected
S onGotResult = "";
^
/root/JavaX-Caches/tmp_1570051649/main.java:7: error: class, interface, or enum expected
bool verbose;
^
/root/JavaX-Caches/tmp_1570051649/main.java:9: error: class, interface, or enum expected
S html() {
^
/root/JavaX-Caches/tmp_1570051649/main.java:12: error: class, interface, or enum expected
ret hscript(replaceDollarVars([[
^
/root/JavaX-Caches/tmp_1570051649/main.java:14: error: class, interface, or enum expected
var sugLoading = false, sugTriggerAgain = false;
^
/root/JavaX-Caches/tmp_1570051649/main.java:16: error: class, interface, or enum expected
function sugTrigger() {
^
/root/JavaX-Caches/tmp_1570051649/main.java:18: error: class, interface, or enum expected
if (sugLoading) { sugTriggerAgain = true; return; }
^
/root/JavaX-Caches/tmp_1570051649/main.java:18: error: class, interface, or enum expected
if (sugLoading) { sugTriggerAgain = true; return; }
^
/root/JavaX-Caches/tmp_1570051649/main.java:24: error: class, interface, or enum expected
const url = $calcURL;
^
/root/JavaX-Caches/tmp_1570051649/main.java:25: error: class, interface, or enum expected
if (sugVerbose) {
^
/root/JavaX-Caches/tmp_1570051649/main.java:27: error: class, interface, or enum expected
console.log("Loading " + urlWithParams);
^
/root/JavaX-Caches/tmp_1570051649/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1570051649/main.java:30: error: class, interface, or enum expected
$.post(url, data,
^
/root/JavaX-Caches/tmp_1570051649/main.java:33: error: class, interface, or enum expected
const answer = !result ? "" : JSON.parse(result).answer;
^
/root/JavaX-Caches/tmp_1570051649/main.java:34: error: class, interface, or enum expected
$onGotResult
^
/root/JavaX-Caches/tmp_1570051649/main.java:37: error: class, interface, or enum expected
$("#liveResult").show();
^
/root/JavaX-Caches/tmp_1570051649/main.java:38: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_1570051649/main.java:41: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1570051649/main.java:44: error: class, interface, or enum expected
setTimeout(function() {
^
/root/JavaX-Caches/tmp_1570051649/main.java:46: error: class, interface, or enum expected
if (sugTriggerAgain) { sugTriggerAgain = false; sugTrigger(); }
^
/root/JavaX-Caches/tmp_1570051649/main.java:46: error: class, interface, or enum expected
if (sugTriggerAgain) { sugTriggerAgain = false; sugTrigger(); }
^
/root/JavaX-Caches/tmp_1570051649/main.java:46: error: class, interface, or enum expected
if (sugTriggerAgain) { sugTriggerAgain = false; sugTrigger(); }
^
/root/JavaX-Caches/tmp_1570051649/main.java:48: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1570051649/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1570051649/main.java:54: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_1570051649/main.java:55: error: class, interface, or enum expected
]], +verbose, +delay, +makeData, calcURL := jsQuote(ajaxURL), +installTriggers, +onGotResult));
^
/root/JavaX-Caches/tmp_1570051649/main.java:56: error: class, interface, or enum expected
}
^
31 errors