Wrote /root/JavaX-Caches/tmp_2107254987/main.java - 256 bytes (written=256, should be 256) 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_602408102 /root/JavaX-Caches/tmp_2107254987/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_2107254987/main.java (at line 1) static <A extends Component> A frameTitle(A c, S title) { ^^^^^^ Syntax error, insert "interface Identifier" to complete InterfaceHeaderName ---------- 2. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 1) static <A extends Component> A frameTitle(A c, S title) { ^ Syntax error on token ">", { expected after this token ---------- 3. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 2) ret setFrameTitle(c, title); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 4. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 2) ret setFrameTitle(c, title); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 5. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 6) ret setFrameTitle(c, title); ^^^ Syntax error, insert "VariableDeclarators" to complete LocalVariableDeclaration ---------- 6. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 6) ret setFrameTitle(c, title); ^^^ Syntax error, insert ";" to complete BlockStatements ---------- 7. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 10) ret getFrameTitle(c); ^^^ Syntax error on token "ret", return expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_2107254987/main.java (at line 11) } ^ Syntax error, insert "}" to complete InterfaceBody ---------- 8 problems (8 errors) Options file: /tmp/javax15330246045109146445