Wrote /root/JavaX-Caches/tmp_2068674740/main.java - 1391 bytes (written=1391, should be 1391) ecj -source 1.8 -target 1.8 -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_1590670284 /root/JavaX-Caches/tmp_2068674740/main.java [Compilation Error]

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

main$JavaCompileException: ECJ returned errors. Annotation processing got disabled, since it requires a 1.6 compliant JVM ---------- 1. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 2) static volatile bool ping_pauseAll; ^^^^ Syntax error on token "bool", package expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 3) static int ping_sleep = 100; // poll pauseAll flag every 100\r ifndef LeanMode\r static volatile bool ping_anyActions;\r static Map<Thread, O> ping_actions = newWeakHashMap(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ClassHeaderName expected instead ---------- 3. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 3) static int ping_sleep = 100; // poll pauseAll flag every 100\r ifndef LeanMode\r static volatile bool ping_anyActions;\r static Map<Thread, O> ping_actions = newWeakHashMap();\r static new ThreadLocal<Bool> ping_isCleanUpThread; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ClassHeaderName expected instead ---------- 4. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 7) static new ThreadLocal<Bool> ping_isCleanUpThread; ^^^^^^^^^^^^^^^^^^^^ Syntax error on token "ping_isCleanUpThread", { expected ---------- 5. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 11) static bool ping() { ^^^^^^ Syntax error on token "static", . expected ---------- 6. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 12) if (ping_pauseAll ifndef LeanMode || ping_anyActions endifndef) ping_impl(true /* XXX */); ^^^^^^ Syntax error on token "ifndef", -> expected ---------- 7. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 12) if (ping_pauseAll ifndef LeanMode || ping_anyActions endifndef) ping_impl(true /* XXX */); ^^^^^^^^^ Syntax error on token "endifndef", ElidedSemicolonAndRightBrace expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 14) true; ^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Expression ---------- 9. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 18) static bool ping_impl(bool okInCleanUp) ctex { ^^^^ Syntax error on token "ctex", delete this token ---------- 10. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 23) true; ^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Expression ---------- 11. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 26) ifndef LeanMode ^^^^^^^^ Syntax error, insert ";" to complete LocalVariableDeclarationStatement ---------- 12. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 28) if (!okInCleanUp && !isTrue(ping_isCleanUpThread!)) ^ Syntax error on token "!", delete this token ---------- 13. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 47) ret false; ^^^^^ Syntax error on token "false", delete this token ---------- 14. ERROR in /root/JavaX-Caches/tmp_2068674740/main.java (at line 48) } ^ Syntax error, insert "}" to complete ClassBody ---------- 14 problems (14 errors) Options file: /tmp/javax5763486279382508731