Wrote /root/JavaX-Caches/tmp_629464090/main.java - 360 bytes (written=360, should be 360) 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_1824254690 /root/JavaX-Caches/tmp_629464090/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_629464090/main.java (at line 1) static void setInternalFrameContents(final Component c, fO contents) { ^^^^ Syntax error on token "void", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 1) static void setInternalFrameContents(final Component c, fO contents) { ^^^^^ Syntax error on token "final", @ expected ---------- 3. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 1) static void setInternalFrameContents(final Component c, fO contents) { ^ Syntax error on token ",", instanceof expected ---------- 4. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 1) static void setInternalFrameContents(final Component c, fO contents) { ^ Syntax error, insert "enum Identifier" to complete EnumHeader ---------- 5. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 4) if (frame == null) ret; ^^ Syntax error on token "if", Identifier expected ---------- 6. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 4) if (frame == null) ret; ^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 7. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 5) frame.getContentPane().removeAll(); ^ Syntax error on token ".", @ expected ---------- 8. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 5) frame.getContentPane().removeAll(); ^^^^^^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 9. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 5) frame.getContentPane().removeAll(); ^ Syntax error on token ".", @ expected ---------- 10. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 5) frame.getContentPane().removeAll(); ^ Syntax error on token ";", @ expected ---------- 11. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 6) frame.getContentPane().setLayout(new BorderLayout); ^ Syntax error on token ".", @ expected ---------- 12. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 6) frame.getContentPane().setLayout(new BorderLayout); ^^^^^^^^^^^^ Syntax error, insert "( )" to complete ClassInstanceCreationExpression ---------- 13. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 6) frame.getContentPane().setLayout(new BorderLayout); ^^^^^^^^^^^^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 14. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 6) frame.getContentPane().setLayout(new BorderLayout); ^^^^^^^^^^^^ Syntax error, insert "[ ]" to complete Dimensions ---------- 15. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 6) frame.getContentPane().setLayout(new BorderLayout); ^ Syntax error on token ";", { expected after this token ---------- 16. ERROR in /root/JavaX-Caches/tmp_629464090/main.java (at line 10) } ^ Syntax error, insert "}" to complete EnumBody ---------- 16 problems (16 errors) Options file: /tmp/javax10051271652139432573