Wrote /root/JavaX-Caches/tmp_42953246/main.java - 407 bytes (written=407, should be 407) 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_223033845 /root/JavaX-Caches/tmp_42953246/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_42953246/main.java (at line 1) static BufferedReader rawByteReader(InputStream in, int bufSize default 8192) ctex { ^^^^^^^^^^^^^^ Syntax error on token "BufferedReader", @ expected ---------- 2. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 1) static BufferedReader rawByteReader(InputStream in, int bufSize default 8192) ctex { ^^^^^^^^^^^ Syntax error on token "InputStream", ( expected after this token ---------- 3. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 1) static BufferedReader rawByteReader(InputStream in, int bufSize default 8192) ctex {\r ret bufferedReader(_registerIOWrap(new InputStreamReader(in, "ISO-8859-1"), in), bufSize); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 4. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 2) ret bufferedReader(_registerIOWrap(new InputStreamReader(in, "ISO-8859-1"), in), bufSize);\r }\r \r static BufferedReader rawByteReader(File f) ctex { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 5. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 5) static BufferedReader rawByteReader(File f) ctex { ^^^^ Syntax error on token "File", invalid ( ---------- 6. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 5) static BufferedReader rawByteReader(File f) ctex { ^ Syntax error on token "{", instanceof expected ---------- 7. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 6) ret rawByteReader(newFileInputStream(f)); ^^^^^^^^^^^^^ Syntax error on token "rawByteReader", == expected after this token ---------- 8. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 6) ret rawByteReader(newFileInputStream(f));\r }\r \r static BufferedReader rawByteReader(File f, int bufSize) ctex { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Syntax error on tokens, delete these tokens ---------- 9. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 9) static BufferedReader rawByteReader(File f, int bufSize) ctex { ^ Syntax error on token "f", delete this token ---------- 10. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 9) static BufferedReader rawByteReader(File f, int bufSize) ctex { ^^^ Syntax error on token "int", invalid ( ---------- 11. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 9) static BufferedReader rawByteReader(File f, int bufSize) ctex { ^ Syntax error on token "{", instanceof expected ---------- 12. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^ Syntax error on token "(", == expected ---------- 13. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^^^^^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 14. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^^^^^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 15. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^^^^^^^ Syntax error, insert ")" to complete MethodInvocation ---------- 16. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^^^^^^^ Syntax error, insert ")" to complete SingleMemberAnnotation ---------- 17. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^^^^^^^ Syntax error, insert "enum Identifier" to complete EnumHeaderName ---------- 18. ERROR in /root/JavaX-Caches/tmp_42953246/main.java (at line 10) ret rawByteReader(newFileInputStream(f), bufSize); ^^^^^^^ Syntax error, insert "EnumBody" to complete CompilationUnit ---------- 18 problems (18 errors) Options file: /tmp/javax2387568263985069495