Wrote /root/JavaX-Caches/tmp_861547714/main.java - 623 bytes (written=623, should be 623) 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_128571789 /root/JavaX-Caches/tmp_861547714/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_861547714/main.java (at line 1) static SS singular_specials = litmap(\r "children", "child", "images", "image", "chess", "chess");\r \r static Set<S> singular_specials2 = litciset("time", "machine", "line", "rule"); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ClassHeaderName expected instead ---------- 2. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 1) static SS singular_specials = litmap(\r "children", "child", "images", "image", "chess", "chess");\r \r static Set<S> singular_specials2 = litciset("time", "machine", "line", "rule");\r \r static S singular(S s) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 3. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 7) if (s == null) null; ^^^^ Syntax error on token "null", { expected ---------- 4. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 8) try answer singular_specials.get(s); ^^^^^^ Syntax error on token "answer", { expected ---------- 5. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 11) ret dropSuffix("s", s); ^^^ Syntax error, insert ":: IdentifierOrNew" to complete ReferenceExpression ---------- 6. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 11) ret dropSuffix("s", s); ^^^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 7. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 11) ret dropSuffix("s", s); ^^^ Syntax error, insert ";" to complete Statement ---------- 8. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 12) if (s.endsWith("ness")) ret s; ^^^ Syntax error on token "ret", return expected ---------- 9. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 13) if (s.endsWith("ges")) ret dropSuffix("s", s); ^^^ Syntax error, insert ":: IdentifierOrNew" to complete ReferenceExpression ---------- 10. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 13) if (s.endsWith("ges")) ret dropSuffix("s", s); ^^^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 11. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 13) if (s.endsWith("ges")) ret dropSuffix("s", s); ^^^ Syntax error, insert ";" to complete Statement ---------- 12. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 14) if (endsWith(s, "bases")) ret dropLast(s); ^^^ Syntax error, insert ":: IdentifierOrNew" to complete ReferenceExpression ---------- 13. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 14) if (endsWith(s, "bases")) ret dropLast(s); ^^^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 14. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 14) if (endsWith(s, "bases")) ret dropLast(s); ^^^ Syntax error, insert ";" to complete Statement ---------- 15. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 18) } ^ Syntax error, insert "Finally" to complete TryStatement ---------- 16. ERROR in /root/JavaX-Caches/tmp_861547714/main.java (at line 18) } ^ Syntax error, insert "}" to complete Statement ---------- 16 problems (16 errors) Options file: /tmp/javax10216613349280155517