Wrote /root/JavaX-Caches/tmp_662212555/main.java - 630 bytes (written=630, should be 630) 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_1967361619 /root/JavaX-Caches/tmp_662212555/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_662212555/main.java (at line 1) static <A> L<A> subList(L<A> l, int startIndex) { ^^^^^^ Syntax error, insert "interface Identifier" to complete InterfaceHeaderName ---------- 2. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 1) static <A> L<A> subList(L<A> l, int startIndex) { ^ Syntax error on token ">", { expected after this token ---------- 3. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 2) ret subList(l, startIndex, l(l)); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 4. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 2) ret subList(l, startIndex, l(l)); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 5. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 6) ret subList(l, startIndex, endIndex); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 6. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 6) ret subList(l, startIndex, endIndex); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 7. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 10) if (l == null) null; ^^^^ Syntax error, insert "AssignmentOperator Expression" to complete Expression ---------- 8. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 14) if (startIndex >= endIndex) ret ll(); ^^^ Syntax error, insert ":: IdentifierOrNew" to complete ReferenceExpression ---------- 9. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 14) if (startIndex >= endIndex) ret ll(); ^^^ Syntax error, insert "AssignmentOperator Expression" to complete Assignment ---------- 10. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 14) if (startIndex >= endIndex) ret ll(); ^^^ Syntax error, insert ";" to complete Statement ---------- 11. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 15) if (startIndex == 0 && endIndex == n) ret l; ^^^ Syntax error on token "ret", return expected ---------- 12. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 16) ret l.subList(startIndex, endIndex); ^^^ Syntax error on token "ret", return expected ---------- 13. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 19) ifclass IntRange ^^^^^^^^ Syntax error, insert ";" to complete FieldDeclaration ---------- 14. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 21) ret subList(l, r.start, r.end); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 15. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 21) ret subList(l, r.start, r.end); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 16. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 23) endif ^^^^^ Syntax error, insert "Identifier (" to complete MethodHeaderName ---------- 17. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 23) endif ^^^^^ Syntax error, insert ")" to complete MethodDeclaration ---------- 18. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 23) endif ^^^^^ Syntax error, insert ";" to complete MethodDeclaration ---------- 19. ERROR in /root/JavaX-Caches/tmp_662212555/main.java (at line 23) endif ^^^^^ Syntax error, insert "}" to complete InterfaceBody ---------- 19 problems (19 errors) Options file: /tmp/javax6295099808218177556