Wrote /root/JavaX-Caches/tmp_638542630/main.java - 1745 bytes (written=1745, should be 1745)
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_419428386 /root/JavaX-Caches/tmp_638542630/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_638542630/main.java:4: error: class, interface, or enum expected
sbool androidSay_keepEngine = false;
^
/root/JavaX-Caches/tmp_638542630/main.java:7: error: class, interface, or enum expected
static void androidSay(final S text, final Locale locale) {
^
/root/JavaX-Caches/tmp_638542630/main.java:7: error: class, interface, or enum expected
static void androidSay(final S text, final Locale locale) {
^
/root/JavaX-Caches/tmp_638542630/main.java:7: error: class, interface, or enum expected
static void androidSay(final S text, final Locale locale) {
^
/root/JavaX-Caches/tmp_638542630/main.java:10: error: class, interface, or enum expected
ret;
^
/root/JavaX-Caches/tmp_638542630/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_638542630/main.java:13: error: class, interface, or enum expected
final new Flag flag;
^
/root/JavaX-Caches/tmp_638542630/main.java:15: error: class, interface, or enum expected
final TextToSpeech[] tts = new TextToSpeech[1];
^
/root/JavaX-Caches/tmp_638542630/main.java:16: error: class, interface, or enum expected
tts[0] = new TextToSpeech(androidContext(), new TextToSpeech.OnInitListener() {
^
/root/JavaX-Caches/tmp_638542630/main.java:17: error: class, interface, or enum expected
public void onInit(int status) {
^
/root/JavaX-Caches/tmp_638542630/main.java:22: error: class, interface, or enum expected
int result = tts[0].setLanguage(locale);
^
/root/JavaX-Caches/tmp_638542630/main.java:23: error: class, interface, or enum expected
if (result == TextToSpeech.LANG_MISSING_DATA
^
/root/JavaX-Caches/tmp_638542630/main.java:27: error: class, interface, or enum expected
result = tts[0].setOnUtteranceProgressListener(new UtteranceProgressListener() {
^
/root/JavaX-Caches/tmp_638542630/main.java:28: error: class, interface, or enum expected
public void onDone(String utteranceId) {
^
/root/JavaX-Caches/tmp_638542630/main.java:30: error: class, interface, or enum expected
tts[0].shutdown();
^
/root/JavaX-Caches/tmp_638542630/main.java:31: error: class, interface, or enum expected
flag.raise();
^
/root/JavaX-Caches/tmp_638542630/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_638542630/main.java:34: error: class, interface, or enum expected
public void onError(String utteranceId) {
^
/root/JavaX-Caches/tmp_638542630/main.java:36: error: class, interface, or enum expected
tts[0].shutdown();
^
/root/JavaX-Caches/tmp_638542630/main.java:37: error: class, interface, or enum expected
flag.raise();
^
/root/JavaX-Caches/tmp_638542630/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_638542630/main.java:40: error: class, interface, or enum expected
public void onStart(String utteranceId) {
^
/root/JavaX-Caches/tmp_638542630/main.java:44: error: class, interface, or enum expected
if (result != TextToSpeech.SUCCESS)
^
/root/JavaX-Caches/tmp_638542630/main.java:47: error: class, interface, or enum expected
print(text);
^
/root/JavaX-Caches/tmp_638542630/main.java:48: error: class, interface, or enum expected
new HashMap params;
^
/root/JavaX-Caches/tmp_638542630/main.java:49: error: class, interface, or enum expected
params.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, randomID(8));
^
/root/JavaX-Caches/tmp_638542630/main.java:50: error: class, interface, or enum expected
tts[0].speak(text, TextToSpeech.QUEUE_FLUSH, params);
^
/root/JavaX-Caches/tmp_638542630/main.java:52: error: class, interface, or enum expected
} catch (Throwable e) { e.printStackTrace(); flag.raise(); }
^
/root/JavaX-Caches/tmp_638542630/main.java:52: error: class, interface, or enum expected
} catch (Throwable e) { e.printStackTrace(); flag.raise(); }
^
/root/JavaX-Caches/tmp_638542630/main.java:52: error: class, interface, or enum expected
} catch (Throwable e) { e.printStackTrace(); flag.raise(); }
^
/root/JavaX-Caches/tmp_638542630/main.java:56: error: class, interface, or enum expected
flag.waitUntilUp();
^
/root/JavaX-Caches/tmp_638542630/main.java:57: error: class, interface, or enum expected
}
^
32 errors