Wrote /root/JavaX-Caches/tmp_455629169/main.java - 263 bytes (written=263, should be 263) 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_709672680 /root/JavaX-Caches/tmp_455629169/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_455629169/main.java (at line 1) static int stdcompare(Number a, Number b) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 2. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 1) static int stdcompare(Number a, Number b) { ^^^ Syntax error on token "int", @ expected ---------- 3. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 1) static int stdcompare(Number a, Number b) { ^^^^^^ Syntax error on token "Number", = expected after this token ---------- 4. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 1) static int stdcompare(Number a, Number b) { ^^^^^^ Syntax error on token "Number", = expected after this token ---------- 5. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 2) ret cmp(a, b); ^^^ Syntax error on token "ret", { expected ---------- 6. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 3) } ^ Syntax error on token "}", delete this token ---------- 7. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 5) static int stdcompare(S a, S b) { ^ Syntax error on token "(", ; expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 5) static int stdcompare(S a, S b) { ^ Syntax error on token ",", ; expected ---------- 9. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 5) static int stdcompare(S a, S b) { ^ Syntax error on token ")", ; expected ---------- 10. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 6) ret cmp(a, b); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 11. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 6) ret cmp(a, b); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 12. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 9) static int stdcompare(long a, long b) { ^ Syntax error on token "(", ; expected ---------- 13. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 9) static int stdcompare(long a, long b) { ^ Syntax error on token ",", ; expected ---------- 14. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 9) static int stdcompare(long a, long b) { ^ Syntax error on token ")", ; expected ---------- 15. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 10) ret a < b ? -1 : a > b ? 1 : 0; ^^^ Syntax error on token "ret", return expected ---------- 16. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 13) static int stdcompare(O a, O b) { ^ Syntax error on token "(", ; expected ---------- 17. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 13) static int stdcompare(O a, O b) { ^ Syntax error on token ",", ; expected ---------- 18. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 13) static int stdcompare(O a, O b) { ^ Syntax error on token ")", ; expected ---------- 19. ERROR in /root/JavaX-Caches/tmp_455629169/main.java (at line 14) ret cmp(a, b); ^^^ Syntax error on token "ret", } expected ---------- 19 problems (19 errors) Options file: /tmp/javax4019256457752745200