Wrote /root/JavaX-Caches/tmp_2014786015/main.java - 2249 bytes (written=2249, should be 2249) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 11 -target 11 -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_173923911 /root/JavaX-Caches/tmp_2014786015/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_2014786015/main.java:1: error: class, interface, or enum expected svoid test_tok_recordDecls() { ^ /root/JavaX-Caches/tmp_2014786015/main.java:3: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:4: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:5: error: class, interface, or enum expected assertTrueVerbose(jMatchStart([[ ^ /root/JavaX-Caches/tmp_2014786015/main.java:9: error: illegal start of type ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:9: error: <identifier> expected ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:11: error: invalid method declaration; return type required test_tok_recordDecls_2(); ^ /root/JavaX-Caches/tmp_2014786015/main.java:15: error: class, interface, or enum expected svoid test_tok_recordDecls_2() { ^ /root/JavaX-Caches/tmp_2014786015/main.java:17: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:18: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:19: error: class, interface, or enum expected assertTrueVerbose(jMatchStart([[ ^ /root/JavaX-Caches/tmp_2014786015/main.java:23: error: illegal start of type ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:23: error: <identifier> expected ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:25: error: invalid method declaration; return type required test_tok_recordDecls_3(); ^ /root/JavaX-Caches/tmp_2014786015/main.java:29: error: class, interface, or enum expected svoid test_tok_recordDecls_3() { ^ /root/JavaX-Caches/tmp_2014786015/main.java:31: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:32: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:33: error: class, interface, or enum expected assertTrueVerbose(jMatchStart([[ ^ /root/JavaX-Caches/tmp_2014786015/main.java:35: error: illegal start of type ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:35: error: <identifier> expected ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:37: error: invalid method declaration; return type required test_tok_recordDecls_4(); ^ /root/JavaX-Caches/tmp_2014786015/main.java:40: error: class, interface, or enum expected svoid test_tok_recordDecls_4() { ^ /root/JavaX-Caches/tmp_2014786015/main.java:42: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:43: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:44: error: class, interface, or enum expected assertTrueVerbose(join(tok), jMatchStart([[ ^ /root/JavaX-Caches/tmp_2014786015/main.java:46: error: illegal start of type ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:46: error: <identifier> expected ]], tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:48: error: invalid method declaration; return type required test_tok_recordDecls_5(); ^ /root/JavaX-Caches/tmp_2014786015/main.java:52: error: class, interface, or enum expected svoid test_tok_recordDecls_5() { ^ /root/JavaX-Caches/tmp_2014786015/main.java:55: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:56: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:57: error: class, interface, or enum expected assertEqualsVerbose(1, l(jfindAll(tok, "*(S *a)"))); ^ /root/JavaX-Caches/tmp_2014786015/main.java:60: error: class, interface, or enum expected tok = jtok("record Blubb(S a) { *(S... *a) { otherStuff(); } }"); ^ /root/JavaX-Caches/tmp_2014786015/main.java:61: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:62: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:63: error: class, interface, or enum expected assertEqualsVerbose(1, l(jfindAll(tok, "*(S... *a)"))); ^ /root/JavaX-Caches/tmp_2014786015/main.java:66: error: class, interface, or enum expected tok = jtok([[record Blubb(S a) { ^ /root/JavaX-Caches/tmp_2014786015/main.java:68: error: class, interface, or enum expected Blubb(S a) { otherStuff(); } ^ /root/JavaX-Caches/tmp_2014786015/main.java:70: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:71: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:72: error: class, interface, or enum expected assertEqualsVerbose(0, l(jfindAll(tok, "*(S *a)"))); ^ /root/JavaX-Caches/tmp_2014786015/main.java:75: error: class, interface, or enum expected tok = jtok([[record Blubb(S a) { ^ /root/JavaX-Caches/tmp_2014786015/main.java:79: error: class, interface, or enum expected }]]); ^ /root/JavaX-Caches/tmp_2014786015/main.java:80: error: class, interface, or enum expected tok_recordDecls(tok); ^ /root/JavaX-Caches/tmp_2014786015/main.java:81: error: class, interface, or enum expected print(join(tok)); ^ /root/JavaX-Caches/tmp_2014786015/main.java:82: error: class, interface, or enum expected assertEqualsVerbose(1, l(jfindAll(tok, "*(S *a)"))); ^ /root/JavaX-Caches/tmp_2014786015/main.java:83: error: class, interface, or enum expected } ^ 47 errors