Wrote /root/JavaX-Caches/tmp_1475783766/main.java - 614 bytes (written=614, should be 614) 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_1354320417 /root/JavaX-Caches/tmp_1475783766/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_1475783766/main.java (at line 1) static S hselect_list(Collection<S> entries, O... params) { ^ Syntax error on token "S", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 1) static S hselect_list(Collection<S> entries, O... params) { ^ Syntax error on token ">", ( expected ---------- 3. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 1) static S hselect_list(Collection<S> entries, O... params) { ^^^ Syntax error on token "...", . expected ---------- 4. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 1) static S hselect_list(Collection<S> entries, O... params) { ^ Syntax error on token "{", [ expected ---------- 5. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 2) new StringBuilder buf;\r S selected = null; ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 6. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 3) S selected = null;\r if (odd(l(params))) {\r selected = str(first(params));\r params = dropFirst(params);\r }\r int i = indexOf(params, "allowEmpty");\r if (even(i)) {\r buf.append("<option></option>\ ");\r params[i] = params[i+1] = null;\r }\r if (nempty(entries)) for (S k : entries) {\r S value = k;\r buf.append(tag("option", htmlencode(str(or(value, ""))),\r value := k,\r selected := eq(selected, k) ? "selected" : null)).append("\ ");\r }\r ret tag("select", buf, params) + "\ "; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 7. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 3) S selected = null;\r if (odd(l(params))) { ^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 8. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 4) if (odd(l(params))) { ^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 9. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 5) selected = str(first(params)); ^ Syntax error on token ";", , expected ---------- 10. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 6) params = dropFirst(params);\r }\r int i = indexOf(params, "allowEmpty"); ^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 11. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 8) int i = indexOf(params, "allowEmpty");\r if (even(i)) {\r buf.append("<option></option>\ ");\r params[i] = params[i+1] = null;\r }\r if (nempty(entries)) for (S k : entries) {\r S value = k;\r buf.append(tag("option", htmlencode(str(or(value, ""))),\r value := k,\r selected := eq(selected, k) ? "selected" : null)).append("\ ");\r }\r ret tag("select", buf, params) + "\ "; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 12. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 8) int i = indexOf(params, "allowEmpty");\r if (even(i)) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 13. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 9) if (even(i)) { ^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 14. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 10) buf.append("<option></option>\ "); ^ Syntax error on token ";", , expected ---------- 15. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 11) params[i] = params[i+1] = null;\r }\r if (nempty(entries)) for (S k : entries) { ^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 16. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 13) if (nempty(entries)) for (S k : entries) { ^^^ Syntax error on token "for", , expected ---------- 17. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 13) if (nempty(entries)) for (S k : entries) { ^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 18. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 13) if (nempty(entries)) for (S k : entries) { ^ Syntax error on token "S", ? expected after this token ---------- 19. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 14) S value = k; ^^^^^ Syntax error on token "value", delete this token ---------- 20. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 14) S value = k; ^ Syntax error on token ";", , expected ---------- 21. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 15) buf.append(tag("option", htmlencode(str(or(value, ""))),\r value := k,\r selected := eq(selected, k) ? "selected" : null)).append("\ ");\r }\r ret tag("select", buf, params) + "\ "; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 22. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 16) value := k, ^ Syntax error on token ":", delete this token ---------- 23. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 17) selected := eq(selected, k) ? "selected" : null)).append("\ "); ^ Syntax error on token ":", delete this token ---------- 24. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error on token "+", delete this token ---------- 25. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error, insert "}" to complete ArrayInitializer ---------- 26. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 27. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error, insert "]" to complete ArrayAccess ---------- 28. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 29. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error, insert "enum Identifier" to complete EnumHeaderName ---------- 30. ERROR in /root/JavaX-Caches/tmp_1475783766/main.java (at line 19) ret tag("select", buf, params) + "\ "; ^ Syntax error, insert "EnumBody" to complete CompilationUnit ---------- 30 problems (30 errors) Options file: /tmp/javax6329624479999201379