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

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

/root/JavaX-Caches/tmp_622676530/main.java:1: error: class, interface, or enum expected scope structure. ^ /root/JavaX-Caches/tmp_622676530/main.java:5: error: class, interface, or enum expected static S structure(O o) { ^ /root/JavaX-Caches/tmp_622676530/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:11: error: class, interface, or enum expected d.out = new PrintWriter(sw); ^ /root/JavaX-Caches/tmp_622676530/main.java:12: error: class, interface, or enum expected structure_go(o, d); ^ /root/JavaX-Caches/tmp_622676530/main.java:13: error: class, interface, or enum expected S s = str(sw); ^ /root/JavaX-Caches/tmp_622676530/main.java:14: error: class, interface, or enum expected if (structure_checkTokenCount) { ^ /root/JavaX-Caches/tmp_622676530/main.java:16: error: class, interface, or enum expected assertEquals("token count", l(javaTokC(s)), d.n); ^ /root/JavaX-Caches/tmp_622676530/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:23: error: class, interface, or enum expected while (nempty(d.stack)) ^ /root/JavaX-Caches/tmp_622676530/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:29: error: class, interface, or enum expected d.out = out; ^ /root/JavaX-Caches/tmp_622676530/main.java:30: error: class, interface, or enum expected structure_go(o, d); ^ /root/JavaX-Caches/tmp_622676530/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:36: error: illegal character: '#' sinterface #Serializer { ^ /root/JavaX-Caches/tmp_622676530/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:43: error: class, interface, or enum expected L<Field> fields; ^ /root/JavaX-Caches/tmp_622676530/main.java:44: error: class, interface, or enum expected Method customSerializer; ^ /root/JavaX-Caches/tmp_622676530/main.java:45: error: class, interface, or enum expected bool special, nullInstances; ^ /root/JavaX-Caches/tmp_622676530/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:48: error: illegal character: '#' sclass #Data { ^ /root/JavaX-Caches/tmp_622676530/main.java:50: error: class, interface, or enum expected int stringSizeLimit; ^ /root/JavaX-Caches/tmp_622676530/main.java:51: error: class, interface, or enum expected int shareStringsLongerThan = 20; ^ /root/JavaX-Caches/tmp_622676530/main.java:52: error: class, interface, or enum expected bool noStringSharing; ^ /root/JavaX-Caches/tmp_622676530/main.java:54: error: class, interface, or enum expected new IdentityHashMap<O, Integer> seen; ^ /root/JavaX-Caches/tmp_622676530/main.java:56: error: class, interface, or enum expected new HashMap<S, Int> strings; ^ /root/JavaX-Caches/tmp_622676530/main.java:57: error: class, interface, or enum expected new HashSet<S> concepts; ^ /root/JavaX-Caches/tmp_622676530/main.java:58: error: class, interface, or enum expected HashMap<Class, structure_ClassInfo> infoByClass = new HashMap; ^ /root/JavaX-Caches/tmp_622676530/main.java:59: error: class, interface, or enum expected new HashMap<Class, Field> persistenceInfo; ^ /root/JavaX-Caches/tmp_622676530/main.java:60: error: class, interface, or enum expected int n; // token count ^ /root/JavaX-Caches/tmp_622676530/main.java:61: error: class, interface, or enum expected new L<Runnable> stack; ^ /root/JavaX-Caches/tmp_622676530/main.java:62: error: class, interface, or enum expected bool unrestructurable; // true if we serialized raw Java objects ^ /root/JavaX-Caches/tmp_622676530/main.java:65: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:65: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:65: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:65: error: class, interface, or enum expected structure_Data append(S token) { out.print(token); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:66: error: class, interface, or enum expected structure_Data append(int i) { out.print(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:66: error: class, interface, or enum expected structure_Data append(int i) { out.print(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:66: error: class, interface, or enum expected structure_Data append(int i) { out.print(i); ++n; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:69: error: class, interface, or enum expected structure_Data append(S token, int tokCount) { out.print(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:69: error: class, interface, or enum expected structure_Data append(S token, int tokCount) { out.print(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:69: error: class, interface, or enum expected structure_Data append(S token, int tokCount) { out.print(token); n += tokCount; ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:72: error: class, interface, or enum expected structure_Data app(S token) { out.print(token); ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:72: error: class, interface, or enum expected structure_Data app(S token) { out.print(token); ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:73: error: class, interface, or enum expected structure_Data app(int i) { out.print(i); ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:73: error: class, interface, or enum expected structure_Data app(int i) { out.print(i); ret this; } ^ /root/JavaX-Caches/tmp_622676530/main.java:76: error: class, interface, or enum expected static void structure_1(final Object o, final structure_Data d) ctex { ^ /root/JavaX-Caches/tmp_622676530/main.java:76: error: class, interface, or enum expected static void structure_1(final Object o, final structure_Data d) ctex { ^ /root/JavaX-Caches/tmp_622676530/main.java:77: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_622676530/main.java:77: error: class, interface, or enum expected if (o == null) { d.append("null"); ret; } ^ /root/JavaX-Caches/tmp_622676530/main.java:80: error: class, interface, or enum expected bool concept = false; ^ /root/JavaX-Caches/tmp_622676530/main.java:81: error: class, interface, or enum expected ifclass Concept ^ /root/JavaX-Caches/tmp_622676530/main.java:83: error: class, interface, or enum expected endif ^ /root/JavaX-Caches/tmp_622676530/main.java:85: error: class, interface, or enum expected if (info == null) { ^ /root/JavaX-Caches/tmp_622676530/main.java:87: error: class, interface, or enum expected if ((info.customSerializer = findMethodNamed(c, '_serialize)) ^ /root/JavaX-Caches/tmp_622676530/main.java:87: error: unclosed character literal if ((info.customSerializer = findMethodNamed(c, '_serialize)) ^ /root/JavaX-Caches/tmp_622676530/main.java:89: error: class, interface, or enum expected info.serializer = makeSerializer(c, info, d); ^ /root/JavaX-Caches/tmp_622676530/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:94: error: class, interface, or enum expected Field persistenceInfoField = cast d.persistenceInfo.get(c); ^ /root/JavaX-Caches/tmp_622676530/main.java:95: error: class, interface, or enum expected Map<S, O> persistenceInfo = persistenceInfoField == null ? null : (Map) persistenceInfoField.get(o); ^ /root/JavaX-Caches/tmp_622676530/main.java:96: error: class, interface, or enum expected ifdef structure_debug ^ /root/JavaX-Caches/tmp_622676530/main.java:98: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_622676530/main.java:100: error: class, interface, or enum expected for (Field f : lFields) { ^ /root/JavaX-Caches/tmp_622676530/main.java:102: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_622676530/main.java:104: error: class, interface, or enum expected } catch (Exception e) { ^ /root/JavaX-Caches/tmp_622676530/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:111: error: class, interface, or enum expected ifdef structure_debug ^ /root/JavaX-Caches/tmp_622676530/main.java:113: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_622676530/main.java:117: error: class, interface, or enum expected String shortName = dropPrefix("main$", name); // TODO: drop loadableUtils also ^ /root/JavaX-Caches/tmp_622676530/main.java:118: error: class, interface, or enum expected if (startsWithDigit(shortName)) shortName = name; // for anonymous classes ^ /root/JavaX-Caches/tmp_622676530/main.java:123: error: class, interface, or enum expected if (concept && eq(fv.get("className"), shortName)) ^ /root/JavaX-Caches/tmp_622676530/main.java:126: error: class, interface, or enum expected if (o instanceof DynamicObject) { ^ /root/JavaX-Caches/tmp_622676530/main.java:128: error: class, interface, or enum expected fv.remove("fieldValues"); ^ /root/JavaX-Caches/tmp_622676530/main.java:129: error: class, interface, or enum expected shortName = shortDynamicClassName(o); ^ /root/JavaX-Caches/tmp_622676530/main.java:130: error: class, interface, or enum expected fv.remove("className"); ^ /root/JavaX-Caches/tmp_622676530/main.java:131: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:135: error: class, interface, or enum expected if (concept && !d.concepts.contains(shortName)) { ^ /root/JavaX-Caches/tmp_622676530/main.java:137: error: class, interface, or enum expected d.append("c "); ^ /root/JavaX-Caches/tmp_622676530/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:141: error: class, interface, or enum expected d.n += countDots(shortName)*2; // correct token count ^ /root/JavaX-Caches/tmp_622676530/main.java:142: error: class, interface, or enum expected ifdef structure_debug ^ /root/JavaX-Caches/tmp_622676530/main.java:144: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_622676530/main.java:146: error: class, interface, or enum expected final int l = d.n; ^ /root/JavaX-Caches/tmp_622676530/main.java:147: error: class, interface, or enum expected final Iterator it = fv.entrySet().iterator(); ^ /root/JavaX-Caches/tmp_622676530/main.java:149: error: class, interface, or enum expected d.stack.add(r { ^ /root/JavaX-Caches/tmp_622676530/main.java:153: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_622676530/main.java:155: error: class, interface, or enum expected d.append(d.n == l ? "(" : ", "); ^ /root/JavaX-Caches/tmp_622676530/main.java:156: error: class, interface, or enum expected d.append((S) e.getKey()).append("="); ^ /root/JavaX-Caches/tmp_622676530/main.java:157: error: class, interface, or enum expected d.stack.add(this); ^ /root/JavaX-Caches/tmp_622676530/main.java:158: error: class, interface, or enum expected structure_1(e.getValue(), d); ^ /root/JavaX-Caches/tmp_622676530/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:161: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_622676530/main.java:163: error: illegal character: '#' Serializer #makeSerializer(Class c, ClassInfo info, Data d) { ^ /root/JavaX-Caches/tmp_622676530/main.java:166: error: <identifier> expected if (isSubclassOf(c, Number.class)) { ^ /root/JavaX-Caches/tmp_622676530/main.java:168: error: illegal start of type if (c == Integer) ret o -> { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_622676530/main.java:168: error: <identifier> expected if (c == Integer) ret o -> { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_622676530/main.java:168: error: <identifier> expected if (c == Integer) ret o -> { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_622676530/main.java:168: error: ';' expected if (c == Integer) ret o -> { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ /root/JavaX-Caches/tmp_622676530/main.java:168: error: not a statement if (c == Integer) ret o -> { int i = ((Int) o).intValue(); out.print(i); d.n += i < 0 ? 2 : 1; ret; } ^ 100 errors only showing the first 100 errors, of 303 total; use -Xmaxerrs if you would like to see more