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

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

/root/JavaX-Caches/tmp_750244146/main.java:1: error: class, interface, or enum expected scope androidSay_keepEngine. ^ /root/JavaX-Caches/tmp_750244146/main.java:6: error: illegal character: '#' sbool #verbose, #inCall; ^ /root/JavaX-Caches/tmp_750244146/main.java:6: error: illegal character: '#' sbool #verbose, #inCall; ^ /root/JavaX-Caches/tmp_750244146/main.java:7: error: illegal character: '#' static TextToSpeech #tts; ^ /root/JavaX-Caches/tmp_750244146/main.java:11: error: class, interface, or enum expected static synchronized void androidSay_keepEngine(final S text, final Locale locale) { ^ /root/JavaX-Caches/tmp_750244146/main.java:11: error: class, interface, or enum expected static synchronized void androidSay_keepEngine(final S text, final Locale locale) { ^ /root/JavaX-Caches/tmp_750244146/main.java:11: error: class, interface, or enum expected static synchronized void androidSay_keepEngine(final S text, final Locale locale) { ^ /root/JavaX-Caches/tmp_750244146/main.java:12: error: class, interface, or enum expected final new Flag flag; ^ /root/JavaX-Caches/tmp_750244146/main.java:14: error: class, interface, or enum expected if (tts == null) { ^ /root/JavaX-Caches/tmp_750244146/main.java:16: error: class, interface, or enum expected tts = new TextToSpeech(androidContext(), new TextToSpeech.OnInitListener() { ^ /root/JavaX-Caches/tmp_750244146/main.java:17: error: class, interface, or enum expected public void onInit(int status) { ^ /root/JavaX-Caches/tmp_750244146/main.java:22: error: class, interface, or enum expected go(text, locale, flag); ^ /root/JavaX-Caches/tmp_750244146/main.java:23: error: class, interface, or enum expected } catch (Throwable e) { e.printStackTrace(); flag.raise(); } ^ /root/JavaX-Caches/tmp_750244146/main.java:23: error: class, interface, or enum expected } catch (Throwable e) { e.printStackTrace(); flag.raise(); } ^ /root/JavaX-Caches/tmp_750244146/main.java:23: error: class, interface, or enum expected } catch (Throwable e) { e.printStackTrace(); flag.raise(); } ^ /root/JavaX-Caches/tmp_750244146/main.java:26: error: class, interface, or enum expected if (verbose) print("TTS object created"); ^ /root/JavaX-Caches/tmp_750244146/main.java:27: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_750244146/main.java:30: error: class, interface, or enum expected flag.waitUntilUp(); ^ /root/JavaX-Caches/tmp_750244146/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_750244146/main.java:33: error: illegal character: '#' static void #go(S text, Locale locale, final Flag flag) { ^ /root/JavaX-Caches/tmp_750244146/main.java:33: error: class, interface, or enum expected static void #go(S text, Locale locale, final Flag flag) { ^ /root/JavaX-Caches/tmp_750244146/main.java:35: error: class, interface, or enum expected int result = tts.setLanguage(locale); ^ /root/JavaX-Caches/tmp_750244146/main.java:36: error: class, interface, or enum expected if (result == TextToSpeech.LANG_MISSING_DATA ^ /root/JavaX-Caches/tmp_750244146/main.java:45: error: class, interface, or enum expected result = tts.setOnUtteranceProgressListener(new UtteranceProgressListener() { ^ /root/JavaX-Caches/tmp_750244146/main.java:46: error: class, interface, or enum expected public void onDone(String utteranceId) { ^ /root/JavaX-Caches/tmp_750244146/main.java:48: error: class, interface, or enum expected flag.raise(); ^ /root/JavaX-Caches/tmp_750244146/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_750244146/main.java:51: error: class, interface, or enum expected public void onError(String utteranceId) { ^ /root/JavaX-Caches/tmp_750244146/main.java:53: error: class, interface, or enum expected flag.raise(); ^ /root/JavaX-Caches/tmp_750244146/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_750244146/main.java:56: error: class, interface, or enum expected public void onStart(String utteranceId) { ^ /root/JavaX-Caches/tmp_750244146/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_750244146/main.java:61: error: class, interface, or enum expected if (result != TextToSpeech.SUCCESS) ^ /root/JavaX-Caches/tmp_750244146/main.java:65: error: class, interface, or enum expected new HashMap params; ^ /root/JavaX-Caches/tmp_750244146/main.java:66: error: class, interface, or enum expected params.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, randomID(8)); ^ /root/JavaX-Caches/tmp_750244146/main.java:67: error: class, interface, or enum expected if (inCall) ^ /root/JavaX-Caches/tmp_750244146/main.java:69: error: class, interface, or enum expected tts.speak(text, TextToSpeech.QUEUE_FLUSH, params); ^ /root/JavaX-Caches/tmp_750244146/main.java:70: error: class, interface, or enum expected } ^ 38 errors