Wrote /root/JavaX-Caches/tmp_1096827273/main.java - 153 bytes (written=153, should be 153) 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_1354465152 /root/JavaX-Caches/tmp_1096827273/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_1096827273/main.java (at line 1) static bool odd(int i) { ^^^^ Syntax error on token "bool", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 1) static bool odd(int i) { ^^^ Syntax error on token "int", delete this token ---------- 3. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 1) static bool odd(int i) { ^ Syntax error on token ")", = expected ---------- 4. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 2) ret (i & 1) != 0;\r }\r \r static bool odd(long i) { ^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 5. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 5) static bool odd(long i) { ^^^^ Syntax error on token "long", delete this token ---------- 6. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 5) static bool odd(long i) { ^ Syntax error on token ")", , expected after this token ---------- 7. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 6) ret (i & 1) != 0;\r }\r \r static bool odd(BigInt i) { ret odd(toInt(i)); } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 8. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 6) ret (i & 1) != 0;\r }\r \r static bool odd(BigInt i) { ret odd(toInt(i)); } ^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 9. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 10. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^^^ Syntax error, insert ". new" to complete ClassInstanceCreationExpressionName ---------- 11. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert ")" to complete ClassInstanceCreationExpression ---------- 12. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert "}" to complete MemberValueArrayInitializer ---------- 13. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert "}" to complete MemberValueArrayInitializer ---------- 14. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert "}" to complete MemberValueArrayInitializer ---------- 15. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert ")" to complete NormalAnnotation ---------- 16. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert "enum Identifier" to complete EnumHeaderName ---------- 17. ERROR in /root/JavaX-Caches/tmp_1096827273/main.java (at line 9) static bool odd(BigInt i) { ret odd(toInt(i)); } ^ Syntax error, insert "EnumBody" to complete CompilationUnit ---------- 17 problems (17 errors) Options file: /tmp/javax7965737122835287650