Wrote /root/JavaX-Caches/tmp_606130438/main.java - 16740 bytes (written=16740, should be 16740) 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_1283003977 /root/JavaX-Caches/tmp_606130438/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_606130438/main.java:1: error: class, interface, or enum expected static bool structure_showTiming, structure_checkTokenCount; ^ /root/JavaX-Caches/tmp_606130438/main.java:3: error: class, interface, or enum expected static S structure(O o) { ^ /root/JavaX-Caches/tmp_606130438/main.java:5: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:9: error: class, interface, or enum expected d.out = new PrintWriter(sw); ^ /root/JavaX-Caches/tmp_606130438/main.java:10: error: class, interface, or enum expected structure_go(o, d); ^ /root/JavaX-Caches/tmp_606130438/main.java:11: error: class, interface, or enum expected S s = str(sw); ^ /root/JavaX-Caches/tmp_606130438/main.java:12: error: class, interface, or enum expected if (structure_checkTokenCount) { ^ /root/JavaX-Caches/tmp_606130438/main.java:14: error: class, interface, or enum expected assertEquals("token count", l(javaTokC(s)), d.n); ^ /root/JavaX-Caches/tmp_606130438/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:21: error: class, interface, or enum expected while (nempty(d.stack)) ^ /root/JavaX-Caches/tmp_606130438/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:27: error: class, interface, or enum expected structure_go(o, d); ^ /root/JavaX-Caches/tmp_606130438/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:34: error: class, interface, or enum expected sclass structure_ClassInfo { ^ /root/JavaX-Caches/tmp_606130438/main.java:36: error: class, interface, or enum expected L<Field> fields; ^ /root/JavaX-Caches/tmp_606130438/main.java:37: error: class, interface, or enum expected Method customSerializer; ^ /root/JavaX-Caches/tmp_606130438/main.java:38: error: class, interface, or enum expected IVF1<O> serializeObject; // can be set by caller of structure function ^ /root/JavaX-Caches/tmp_606130438/main.java:39: error: class, interface, or enum expected bool special; // various special classes ^ /root/JavaX-Caches/tmp_606130438/main.java:40: error: class, interface, or enum expected bool nullInstances; // serialize all instances as null (e.g. lambdas/anonymous classes) ^ /root/JavaX-Caches/tmp_606130438/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:45: error: class, interface, or enum expected int stringSizeLimit; ^ /root/JavaX-Caches/tmp_606130438/main.java:46: error: class, interface, or enum expected int shareStringsLongerThan = 20; ^ /root/JavaX-Caches/tmp_606130438/main.java:47: error: class, interface, or enum expected bool noStringSharing; ^ /root/JavaX-Caches/tmp_606130438/main.java:48: error: class, interface, or enum expected bool storeBaseClasses; ^ /root/JavaX-Caches/tmp_606130438/main.java:49: error: class, interface, or enum expected bool honorFieldOrder = true; ^ /root/JavaX-Caches/tmp_606130438/main.java:50: error: class, interface, or enum expected S mcDollar = actualMCDollar(); ^ /root/JavaX-Caches/tmp_606130438/main.java:52: error: class, interface, or enum expected new IdentityHashMap<O, Integer> seen; ^ /root/JavaX-Caches/tmp_606130438/main.java:54: error: class, interface, or enum expected new HashMap<S, Int> strings; ^ /root/JavaX-Caches/tmp_606130438/main.java:55: error: class, interface, or enum expected new HashSet<S> concepts; ^ /root/JavaX-Caches/tmp_606130438/main.java:56: error: class, interface, or enum expected HashMap<Class, structure_ClassInfo> infoByClass = new HashMap; ^ /root/JavaX-Caches/tmp_606130438/main.java:60: error: class, interface, or enum expected new HashMap<Class, IF1<O, Map>> persistenceInfo; ^ /root/JavaX-Caches/tmp_606130438/main.java:62: error: class, interface, or enum expected int n; // token count ^ /root/JavaX-Caches/tmp_606130438/main.java:63: error: class, interface, or enum expected new L<Runnable> stack; ^ /root/JavaX-Caches/tmp_606130438/main.java:66: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:66: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:66: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:66: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:67: error: class, interface, or enum expected structure_Data append(int i) { out.print(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:67: error: class, interface, or enum expected structure_Data append(int i) { out.print(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:67: error: class, interface, or enum expected structure_Data append(int i) { out.print(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:70: error: class, interface, or enum expected structure_Data append(S token, int tokCount) { out.print(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:70: error: class, interface, or enum expected structure_Data append(S token, int tokCount) { out.print(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:70: error: class, interface, or enum expected structure_Data append(S token, int tokCount) { out.print(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:73: error: class, interface, or enum expected structure_Data app(S token) { out.print(token); ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:73: error: class, interface, or enum expected structure_Data app(S token) { out.print(token); ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:74: error: class, interface, or enum expected structure_Data app(int i) { out.print(i); ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:74: error: class, interface, or enum expected structure_Data app(int i) { out.print(i); ret this; } ^ /root/JavaX-Caches/tmp_606130438/main.java:78: error: class, interface, or enum expected if (info == null) info = newClass(c); ^ /root/JavaX-Caches/tmp_606130438/main.java:79: error: class, interface, or enum expected ret info; ^ /root/JavaX-Caches/tmp_606130438/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:86: error: class, interface, or enum expected info.c = c; ^ /root/JavaX-Caches/tmp_606130438/main.java:87: error: class, interface, or enum expected infoByClass.put(c, info); ^ /root/JavaX-Caches/tmp_606130438/main.java:89: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_606130438/main.java:92: error: class, interface, or enum expected ret info; ^ /root/JavaX-Caches/tmp_606130438/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:95: error: unclosed character literal if ((info.customSerializer = findMethodNamed(c, '_serialize)) ^ /root/JavaX-Caches/tmp_606130438/main.java:98: error: class, interface, or enum expected if (storeBaseClasses) { ^ /root/JavaX-Caches/tmp_606130438/main.java:100: error: class, interface, or enum expected if (sup != O) { ^ /root/JavaX-Caches/tmp_606130438/main.java:102: error: class, interface, or enum expected append(shortDynClassNameForStructure(c)); ^ /root/JavaX-Caches/tmp_606130438/main.java:103: error: class, interface, or enum expected out.print(" "); ^ /root/JavaX-Caches/tmp_606130438/main.java:104: error: class, interface, or enum expected append(shortDynClassNameForStructure(sup)); ^ /root/JavaX-Caches/tmp_606130438/main.java:105: error: class, interface, or enum expected out.print(" "); ^ /root/JavaX-Caches/tmp_606130438/main.java:106: error: class, interface, or enum expected infoForClass(sup); // transitively write out superclass relations ^ /root/JavaX-Caches/tmp_606130438/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:112: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_606130438/main.java:114: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:117: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:121: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:126: error: class, interface, or enum expected append(shortName); ^ /root/JavaX-Caches/tmp_606130438/main.java:127: error: class, interface, or enum expected n += countDots(shortName)*2; // correct token count ^ /root/JavaX-Caches/tmp_606130438/main.java:128: error: class, interface, or enum expected ifdef structure_debug ^ /root/JavaX-Caches/tmp_606130438/main.java:130: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_606130438/main.java:133: error: class, interface, or enum expected Iterator it = fv.entrySet().iterator(); ^ /root/JavaX-Caches/tmp_606130438/main.java:135: error: class, interface, or enum expected stack.add(r { ^ /root/JavaX-Caches/tmp_606130438/main.java:139: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_606130438/main.java:141: error: class, interface, or enum expected append(n == l ? "(" : ", "); ^ /root/JavaX-Caches/tmp_606130438/main.java:142: error: class, interface, or enum expected append((S) e.getKey()).append("="); ^ /root/JavaX-Caches/tmp_606130438/main.java:143: error: class, interface, or enum expected stack.add(this); ^ /root/JavaX-Caches/tmp_606130438/main.java:144: error: class, interface, or enum expected structure_1(e.getValue(), structure_Data.this); ^ /root/JavaX-Caches/tmp_606130438/main.java:145: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_606130438/main.java:150: error: class, interface, or enum expected static void structure_1(final Object o, final structure_Data d) ctex { ^ /root/JavaX-Caches/tmp_606130438/main.java:150: error: class, interface, or enum expected static void structure_1(final Object o, final structure_Data d) ctex { ^ /root/JavaX-Caches/tmp_606130438/main.java:151: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:151: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:154: error: class, interface, or enum expected bool concept = false; ^ /root/JavaX-Caches/tmp_606130438/main.java:155: error: class, interface, or enum expected ifclass Concept ^ /root/JavaX-Caches/tmp_606130438/main.java:157: error: class, interface, or enum expected endif ^ /root/JavaX-Caches/tmp_606130438/main.java:160: error: class, interface, or enum expected L<Field> lFields = info.fields; ^ /root/JavaX-Caches/tmp_606130438/main.java:161: error: class, interface, or enum expected if (lFields == null) { ^ /root/JavaX-Caches/tmp_606130438/main.java:166: error: class, interface, or enum expected if (o instanceof Integer) { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:166: error: class, interface, or enum expected if (o instanceof Integer) { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:166: error: class, interface, or enum expected if (o instanceof Integer) { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:166: error: class, interface, or enum expected if (o instanceof Integer) { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:166: error: class, interface, or enum expected if (o instanceof Integer) { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:167: error: class, interface, or enum expected if (o instanceof Long) { long l = ((Long) o).longValue(); out.print(l); out.print("L"); d.n += l < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:167: error: class, interface, or enum expected if (o instanceof Long) { long l = ((Long) o).longValue(); out.print(l); out.print("L"); d.n += l < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:167: error: class, interface, or enum expected if (o instanceof Long) { long l = ((Long) o).longValue(); out.print(l); out.print("L"); d.n += l < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_606130438/main.java:167: error: class, interface, or enum expected if (o instanceof Long) { long l = ((Long) o).longValue(); out.print(l); out.print("L"); d.n += l < 0 ? 2 : 1; ret; } ^ 100 errors only showing the first 100 errors, of 297 total; use -Xmaxerrs if you would like to see more