Wrote /root/JavaX-Caches/tmp_1705872602/main.java - 423 bytes (written=423, should be 423) 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_429510673 /root/JavaX-Caches/tmp_1705872602/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_1705872602/main.java (at line 1) static O[] paramsPlus(O[] a1, O... a2) { ^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 2. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 1) static O[] paramsPlus(O[] a1, O... a2) {\r if (a2 == null) ret a1; ^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 3. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 1) static O[] paramsPlus(O[] a1, O... a2) {\r if (a2 == null) ret a1;\r if (a1 == null) ret a2;\r if (l(a1) == 1 && a1[0] instanceof Map) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 4. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 2) if (a2 == null) ret a1;\r if (a1 == null) ret a2; ^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 5. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 5) ret new O[] { mapPlus((Map) a1[0], a2) }; ^^^ Syntax error on token "ret", AssignmentOperator expected after this token ---------- 6. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 5) ret new O[] { mapPlus((Map) a1[0], a2) }; ^ Syntax error on token ";", [ expected ---------- 7. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 6) assertEvenLength(a1); ^ Syntax error on token ";", [ expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 7) assertEvenLength(a2);\r Map map = paramsToOrderedMap(a1); ^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 9. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 8) Map map = paramsToOrderedMap(a1);\r int n = l(a2); ^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 10. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 9) int n = l(a2);\r for (int i = 0; i < n; i += 2) { ^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 11. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 10) for (int i = 0; i < n; i += 2) { ^ Syntax error on token ";", [ expected ---------- 12. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 10) for (int i = 0; i < n; i += 2) {\r O key = a2[i]; ^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, ( expected instead ---------- 13. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 10) for (int i = 0; i < n; i += 2) { ^ Syntax error on token ";", ( expected ---------- 14. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 11) O key = a2[i];\r if (key != null) map.put(key, a2[i+1]); ^^^^^^^^^^^^^^ Syntax error on tokens, AnnotationName expected instead ---------- 15. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 11) O key = a2[i];\r if (key != null) map.put(key, a2[i+1]);\r }\r ret mapToParams(map); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 16. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 17. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert ")" to complete Expression ---------- 18. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert "]" to complete ArrayAccess ---------- 19. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert "]" to complete ArrayAccess ---------- 20. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert "]" to complete ArrayAccess ---------- 21. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert "]" to complete ArrayAccess ---------- 22. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 23. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert "enum Identifier" to complete EnumHeaderName ---------- 24. ERROR in /root/JavaX-Caches/tmp_1705872602/main.java (at line 14) ret mapToParams(map); ^^^ Syntax error, insert "EnumBody" to complete CompilationUnit ---------- 24 problems (24 errors) Options file: /tmp/javax17249948486970254283