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

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

/root/JavaX-Caches/tmp_1404678298/main.java:4: error: class, interface, or enum expected please include function dbLock. ^ /root/JavaX-Caches/tmp_1404678298/main.java:10: error: class, interface, or enum expected sclass Concept extends DynamicObject { ^ /root/JavaX-Caches/tmp_1404678298/main.java:14: error: class, interface, or enum expected long created; ^ /root/JavaX-Caches/tmp_1404678298/main.java:17: error: class, interface, or enum expected *(S className) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:19: error: class, interface, or enum expected _created(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:20: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:24: error: class, interface, or enum expected if (!DynamicObject_loading) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:31: error: class, interface, or enum expected new L<Ref> backRefs; ^ /root/JavaX-Caches/tmp_1404678298/main.java:33: error: class, interface, or enum expected void _created() { ^ /root/JavaX-Caches/tmp_1404678298/main.java:35: error: class, interface, or enum expected if (!isTrue(_unlisted.get())) register(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:40: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:50: error: illegal start of type *() { ^ /root/JavaX-Caches/tmp_1404678298/main.java:54: error: illegal start of type *(A *value) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:54: error: <identifier> expected *(A *value) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:54: error: <identifier> expected *(A *value) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:60: error: ';' expected Concept concept() { ret Concept.this; } ^ /root/JavaX-Caches/tmp_1404678298/main.java:60: error: not a statement Concept concept() { ret Concept.this; } ^ /root/JavaX-Caches/tmp_1404678298/main.java:65: error: ';' expected bool has() { ret value != null; } ^ /root/JavaX-Caches/tmp_1404678298/main.java:66: error: ';' expected bool empty() { ret value == null; } ^ /root/JavaX-Caches/tmp_1404678298/main.java:69: error: not a statement if (a == value) ret; ^ /root/JavaX-Caches/tmp_1404678298/main.java:91: error: ';' expected ret str(get()); ^ /root/JavaX-Caches/tmp_1404678298/main.java:91: error: ';' expected ret str(get()); ^ /root/JavaX-Caches/tmp_1404678298/main.java:96: error: illegal start of type new L<Ref<A>> l; ^ /root/JavaX-Caches/tmp_1404678298/main.java:111: error: ';' expected ret l.get(i).get(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:121: error: ';' expected ret l.size(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:135: error: class, interface, or enum expected void delete() { ^ /root/JavaX-Caches/tmp_1404678298/main.java:137: error: class, interface, or enum expected concepts.remove(id); ^ /root/JavaX-Caches/tmp_1404678298/main.java:138: error: class, interface, or enum expected conceptsByClass.get(getClass()).remove(id); ^ /root/JavaX-Caches/tmp_1404678298/main.java:139: error: class, interface, or enum expected id = 0; ^ /root/JavaX-Caches/tmp_1404678298/main.java:143: error: class, interface, or enum expected for (Ref r : refs) ^ /root/JavaX-Caches/tmp_1404678298/main.java:145: error: class, interface, or enum expected refs.clear(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:146: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:147: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:152: error: class, interface, or enum expected id = newID(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:153: error: class, interface, or enum expected concepts.put(id, this); ^ /root/JavaX-Caches/tmp_1404678298/main.java:154: error: class, interface, or enum expected _addToClassMap(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:155: error: class, interface, or enum expected change(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:156: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:160: error: class, interface, or enum expected Map<Long, Concept> map = conceptsByClass.get(c); ^ /root/JavaX-Caches/tmp_1404678298/main.java:161: error: class, interface, or enum expected if (map == null) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:164: error: class, interface, or enum expected if (superclass != Concept) ^ /root/JavaX-Caches/tmp_1404678298/main.java:166: error: class, interface, or enum expected conceptsByClass.put(c, map = new TreeMap); ^ /root/JavaX-Caches/tmp_1404678298/main.java:167: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:169: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:177: error: class, interface, or enum expected *() {} // make serialisation happy ^ /root/JavaX-Caches/tmp_1404678298/main.java:178: error: class, interface, or enum expected *(long id) { this.id = str(id); } ^ /root/JavaX-Caches/tmp_1404678298/main.java:179: error: class, interface, or enum expected *(Concept c) { this(c.id); } ^ /root/JavaX-Caches/tmp_1404678298/main.java:180: error: class, interface, or enum expected long longID() { ret parseLong(id); } ^ /root/JavaX-Caches/tmp_1404678298/main.java:182: error: class, interface, or enum expected public S toString() { ^ /root/JavaX-Caches/tmp_1404678298/main.java:184: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:192: error: class, interface, or enum expected static Map<Long, Concept> concepts = synchroTreeMap(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:193: error: class, interface, or enum expected static Map<Class, Map<Long, Concept>> conceptsByClass = synchroHashMap(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:194: error: class, interface, or enum expected static new MultiMap<Class, Class> subclasses; ^ /root/JavaX-Caches/tmp_1404678298/main.java:196: error: class, interface, or enum expected static long idCounter; ^ /root/JavaX-Caches/tmp_1404678298/main.java:197: error: class, interface, or enum expected static volatile long changes = 1, changesWritten; ^ /root/JavaX-Caches/tmp_1404678298/main.java:198: error: class, interface, or enum expected static volatile java.util.Timer autoSaver; ^ /root/JavaX-Caches/tmp_1404678298/main.java:199: error: class, interface, or enum expected static volatile bool savingConcepts; ^ /root/JavaX-Caches/tmp_1404678298/main.java:200: error: class, interface, or enum expected static new ThreadLocal<Bool> _unlisted; ^ /root/JavaX-Caches/tmp_1404678298/main.java:201: error: class, interface, or enum expected static bool concepts_saveOneMore; ^ /root/JavaX-Caches/tmp_1404678298/main.java:202: error: class, interface, or enum expected static S conceptsLoadedFrom; ^ /root/JavaX-Caches/tmp_1404678298/main.java:203: error: class, interface, or enum expected static int concepts_internStringsLongerThan = 10; ^ /root/JavaX-Caches/tmp_1404678298/main.java:204: error: class, interface, or enum expected static int concepts_autoSaveInterval = 1000; ^ /root/JavaX-Caches/tmp_1404678298/main.java:206: error: class, interface, or enum expected static long newID() { ^ /root/JavaX-Caches/tmp_1404678298/main.java:209: error: class, interface, or enum expected } while (hasConcept(idCounter)); ^ /root/JavaX-Caches/tmp_1404678298/main.java:210: error: class, interface, or enum expected ret idCounter; ^ /root/JavaX-Caches/tmp_1404678298/main.java:211: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:215: error: class, interface, or enum expected clearConcepts(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:216: error: class, interface, or enum expected DynamicObject_loading = true; ^ /root/JavaX-Caches/tmp_1404678298/main.java:217: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1404678298/main.java:219: error: class, interface, or enum expected readLocally(programID, "concepts"); ^ /root/JavaX-Caches/tmp_1404678298/main.java:220: error: class, interface, or enum expected readLocally(programID, "idCounter"); ^ /root/JavaX-Caches/tmp_1404678298/main.java:221: error: class, interface, or enum expected assignConceptsToUs(); ^ /root/JavaX-Caches/tmp_1404678298/main.java:222: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1404678298/main.java:224: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:230: error: class, interface, or enum expected callOpt(c, "_doneLoading2"); ^ /root/JavaX-Caches/tmp_1404678298/main.java:231: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:236: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:240: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:244: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:248: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:252: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:256: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:260: error: class, interface, or enum expected if (c == null) ^ /root/JavaX-Caches/tmp_1404678298/main.java:262: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1404678298/main.java:264: error: class, interface, or enum expected ret c; ^ /root/JavaX-Caches/tmp_1404678298/main.java:265: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:270: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1404678298/main.java:274: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1404678298/main.java:276: error: class, interface, or enum expected synchronized(main.class) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:276: error: <identifier> expected synchronized(main.class) { ^ /root/JavaX-Caches/tmp_1404678298/main.java:278: error: illegal start of type if (!change && !concepts_saveOneMore) ret; ^ /root/JavaX-Caches/tmp_1404678298/main.java:278: error: <identifier> expected if (!change && !concepts_saveOneMore) ret; ^ /root/JavaX-Caches/tmp_1404678298/main.java:278: error: <identifier> expected if (!change && !concepts_saveOneMore) ret; ^ /root/JavaX-Caches/tmp_1404678298/main.java:278: error: <identifier> expected if (!change && !concepts_saveOneMore) ret; ^ /root/JavaX-Caches/tmp_1404678298/main.java:279: error: <identifier> expected changesWritten = changes; ^ /root/JavaX-Caches/tmp_1404678298/main.java:280: error: <identifier> expected concepts_saveOneMore = change; ^ 100 errors only showing the first 100 errors, of 215 total; use -Xmaxerrs if you would like to see more