Wrote /root/JavaX-Caches/tmp_406249233/main.java - 272 bytes (written=272, should be 272) javac=0, ecj=1 Checking ECJ at port 4898 at 127.0.0.1 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_1088261171 /root/JavaX-Caches/tmp_406249233/main.java [Compilation Error]

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

main$JavaCompileException: ECJ returned errors. ---------- 1. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 1) static O smallestList_ll(O... e) { ^ Syntax error on token "O", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 1) static O smallestList_ll(O... e) { ^^^ Syntax error on token "...", . expected ---------- 3. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 1) static O smallestList_ll(O... e) { ^ Syntax error, insert "RestrictedIdentifierrecord Identifier" to complete RecordHeaderName ---------- 4. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 1) static O smallestList_ll(O... e) { ^ Syntax error, insert "RecordHeader" to complete RecordHeaderPart ---------- 5. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 1) static O smallestList_ll(O... e) {\r int n = l(e);\r smallestList_checkElements(e);\r switch (n) {\r case 0: ret null;\r case 1: ret e[0];\r case 2: ret pair(e[0], e[1]);\r case 3: ret triple(e[0], e[1], e[2]);\r default: ret cloneObjectArray(e);\r } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 6. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 3) smallestList_checkElements(e);\r switch (n) { ^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 7. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 5) case 0: ret null; ^^^^ Syntax error on token "case", assert expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 5) case 0: ret null; ^^^ Syntax error on token(s), misplaced construct(s) ---------- 9. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 6) case 1: ret e[0]; ^^^^ Syntax error on token "case", assert expected ---------- 10. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 6) case 1: ret e[0]; ^ Syntax error on token "e", delete this token ---------- 11. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 7) case 2: ret pair(e[0], e[1]); ^^^^ Syntax error on token "case", assert expected ---------- 12. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 7) case 2: ret pair(e[0], e[1]); ^^^ Syntax error, insert ";" to complete AssertStatement ---------- 13. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 8) case 3: ret triple(e[0], e[1], e[2]); ^^^^ Syntax error on token "case", assert expected ---------- 14. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 8) case 3: ret triple(e[0], e[1], e[2]); ^^^ Syntax error, insert ";" to complete AssertStatement ---------- 15. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 9) default: ret cloneObjectArray(e); ^^^^^^^ Syntax error on token "default", invalid Label ---------- 16. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 9) default: ret cloneObjectArray(e); ^^^ Syntax error on token "ret", do expected ---------- 17. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 9) default: ret cloneObjectArray(e); ^ Syntax error, insert ";" to complete Statement ---------- 18. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 9) default: ret cloneObjectArray(e); ^ Syntax error, insert "while ( Expression ) ;" to complete DoStatement ---------- 19. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 9) default: ret cloneObjectArray(e); ^ Syntax error, insert "}" to complete MethodBody ---------- 20. ERROR in /root/JavaX-Caches/tmp_406249233/main.java (at line 10) } ^ Syntax error, insert "RecordBody" to complete CompilationUnit ---------- 20 problems (20 errors) Options file: /tmp/javax13485659902953357434