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

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

/root/JavaX-Caches/tmp_361368767/main.java:3: error: class, interface, or enum expected sclass Scenario { ^ /root/JavaX-Caches/tmp_361368767/main.java:5: error: class, interface, or enum expected new HashMap<Class, O> perClassData; ^ /root/JavaX-Caches/tmp_361368767/main.java:6: error: class, interface, or enum expected S programID; ^ /root/JavaX-Caches/tmp_361368767/main.java:7: error: class, interface, or enum expected long idCounter; ^ /root/JavaX-Caches/tmp_361368767/main.java:8: error: class, interface, or enum expected volatile long changes = 1, changesWritten; ^ /root/JavaX-Caches/tmp_361368767/main.java:9: error: class, interface, or enum expected volatile java.util.Timer autoSaver; ^ /root/JavaX-Caches/tmp_361368767/main.java:10: error: class, interface, or enum expected volatile bool savingConcepts; ^ /root/JavaX-Caches/tmp_361368767/main.java:12: error: class, interface, or enum expected *() { } ^ /root/JavaX-Caches/tmp_361368767/main.java:18: error: class, interface, or enum expected } while (hasConcept(idCounter)); ^ /root/JavaX-Caches/tmp_361368767/main.java:19: error: class, interface, or enum expected ret idCounter; ^ /root/JavaX-Caches/tmp_361368767/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:24: error: class, interface, or enum expected DynamicObject_loading = true; ^ /root/JavaX-Caches/tmp_361368767/main.java:25: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_361368767/main.java:27: error: class, interface, or enum expected assignConceptsToUs(); ^ /root/JavaX-Caches/tmp_361368767/main.java:28: error: class, interface, or enum expected readLocally2(this, programID, "idCounter"); ^ /root/JavaX-Caches/tmp_361368767/main.java:29: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_361368767/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:37: error: class, interface, or enum expected callOpt(c, "_doneLoading2"); ^ /root/JavaX-Caches/tmp_361368767/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:67: error: class, interface, or enum expected if (c == null) ^ /root/JavaX-Caches/tmp_361368767/main.java:69: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_361368767/main.java:71: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:76: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_361368767/main.java:78: error: class, interface, or enum expected synchronized(main.class) { ^ /root/JavaX-Caches/tmp_361368767/main.java:78: error: <identifier> expected synchronized(main.class) { ^ /root/JavaX-Caches/tmp_361368767/main.java:79: error: illegal start of type if (changes == changesWritten) ret; ^ /root/JavaX-Caches/tmp_361368767/main.java:79: error: <identifier> expected if (changes == changesWritten) ret; ^ /root/JavaX-Caches/tmp_361368767/main.java:79: error: <identifier> expected if (changes == changesWritten) ret; ^ /root/JavaX-Caches/tmp_361368767/main.java:79: error: <identifier> expected if (changes == changesWritten) ret; ^ /root/JavaX-Caches/tmp_361368767/main.java:80: error: <identifier> expected changesWritten = changes; ^ /root/JavaX-Caches/tmp_361368767/main.java:81: error: invalid method declaration; return type required saveLocally2(this, "idCounter"); ^ /root/JavaX-Caches/tmp_361368767/main.java:81: error: illegal start of type saveLocally2(this, "idCounter"); ^ /root/JavaX-Caches/tmp_361368767/main.java:81: error: illegal start of type saveLocally2(this, "idCounter"); ^ /root/JavaX-Caches/tmp_361368767/main.java:82: error: <identifier> expected s = structure(cloneMap(concepts)); ^ /root/JavaX-Caches/tmp_361368767/main.java:84: error: class, interface, or enum expected print("Saving " + l(s) + " chars (" + changesWritten + ")"); ^ /root/JavaX-Caches/tmp_361368767/main.java:85: error: class, interface, or enum expected saveTextFile(getProgramFile("concepts.structure"), s); ^ /root/JavaX-Caches/tmp_361368767/main.java:86: error: class, interface, or enum expected copyFile(getProgramFile("concepts.structure"), getProgramFile("concepts.structure.backup" + ymd() + "-" + formatInt(hours(), 2))); ^ /root/JavaX-Caches/tmp_361368767/main.java:87: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_361368767/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:98: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_361368767/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:108: error: class, interface, or enum expected autoSaver = doEvery(1000, r { saveConcepts(); }); ^ /root/JavaX-Caches/tmp_361368767/main.java:109: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:114: error: class, interface, or enum expected autoSaver = null; ^ /root/JavaX-Caches/tmp_361368767/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:117: error: class, interface, or enum expected saveConceptsIfDirty(); ^ /root/JavaX-Caches/tmp_361368767/main.java:118: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:122: error: class, interface, or enum expected Map<Long, Concept> cloned = cloneMap(concepts); ^ /root/JavaX-Caches/tmp_361368767/main.java:123: error: class, interface, or enum expected for (long id : keys(cloned)) ^ /root/JavaX-Caches/tmp_361368767/main.java:125: error: class, interface, or enum expected ret map; ^ /root/JavaX-Caches/tmp_361368767/main.java:126: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:130: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:134: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:140: error: class, interface, or enum expected null; ^ /root/JavaX-Caches/tmp_361368767/main.java:141: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:145: error: class, interface, or enum expected for (Concept.Ref r : c.backRefs) ^ /root/JavaX-Caches/tmp_361368767/main.java:148: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_361368767/main.java:149: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:153: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:157: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:161: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:165: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:169: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:173: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:177: error: class, interface, or enum expected autoSaveConcepts(); ^ /root/JavaX-Caches/tmp_361368767/main.java:178: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:183: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:188: error: class, interface, or enum expected if (a == null) { ^ /root/JavaX-Caches/tmp_361368767/main.java:190: error: class, interface, or enum expected a = conceptOfType(c); ^ /root/JavaX-Caches/tmp_361368767/main.java:191: error: class, interface, or enum expected if (a == null) ^ /root/JavaX-Caches/tmp_361368767/main.java:193: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:195: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:203: error: class, interface, or enum expected if (b == null) { ^ /root/JavaX-Caches/tmp_361368767/main.java:205: error: class, interface, or enum expected b = findBackRef(a, c2); ^ /root/JavaX-Caches/tmp_361368767/main.java:206: error: class, interface, or enum expected if (b == null) ^ /root/JavaX-Caches/tmp_361368767/main.java:208: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:216: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:220: error: class, interface, or enum expected for (Concept c : l) c.delete(); ^ /root/JavaX-Caches/tmp_361368767/main.java:221: error: class, interface, or enum expected ret l(l); ^ /root/JavaX-Caches/tmp_361368767/main.java:222: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:227: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:232: error: class, interface, or enum expected Concept c = cc != null ? nuObject(cc) : new Concept(name); ^ /root/JavaX-Caches/tmp_361368767/main.java:233: error: class, interface, or enum expected csetAll(c, values); ^ /root/JavaX-Caches/tmp_361368767/main.java:234: error: class, interface, or enum expected ret c; ^ /root/JavaX-Caches/tmp_361368767/main.java:235: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:238: error: class, interface, or enum expected for (int i = 0; i+1 < l(values); i += 2) ^ /root/JavaX-Caches/tmp_361368767/main.java:238: error: class, interface, or enum expected for (int i = 0; i+1 < l(values); i += 2) ^ /root/JavaX-Caches/tmp_361368767/main.java:240: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_361368767/main.java:244: error: class, interface, or enum expected print("cset: " + c.id + " " + field + " " + struct(value) + " " + f); ^ /root/JavaX-Caches/tmp_361368767/main.java:245: error: class, interface, or enum expected if (value instanceof PassRef) value = getConcept((PassRef) value); ^ /root/JavaX-Caches/tmp_361368767/main.java:246: error: class, interface, or enum expected if (f == null) ^ /root/JavaX-Caches/tmp_361368767/main.java:248: error: class, interface, or enum expected else if (isSubtypeOf(f.getType(), Concept.Ref.class)) ^ 100 errors only showing the first 100 errors, of 185 total; use -Xmaxerrs if you would like to see more