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

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

/root/JavaX-Caches/tmp_1759307351/main.java:4: error: class, interface, or enum expected please include function dbLock. ^ /root/JavaX-Caches/tmp_1759307351/main.java:8: error: class, interface, or enum expected static new ThreadLocal<Bool> concepts_unlisted; ^ /root/JavaX-Caches/tmp_1759307351/main.java:11: error: class, interface, or enum expected sbool concepts_unlistedByDefault = true; // true = we can create instances of concepts with "new" without registering them automatically ^ /root/JavaX-Caches/tmp_1759307351/main.java:32: error: class, interface, or enum expected sclass ConceptsChange {} ^ /root/JavaX-Caches/tmp_1759307351/main.java:51: error: class, interface, or enum expected long idCounter; ^ /root/JavaX-Caches/tmp_1759307351/main.java:53: error: class, interface, or enum expected transient HashMap<Class, O> perClassData; ^ /root/JavaX-Caches/tmp_1759307351/main.java:54: error: class, interface, or enum expected transient Map miscMap; // don't use directly, call miscMap... methods to access ^ /root/JavaX-Caches/tmp_1759307351/main.java:59: error: class, interface, or enum expected transient S programID; ^ /root/JavaX-Caches/tmp_1759307351/main.java:61: error: class, interface, or enum expected transient Concepts parent; // new mechanism ^ /root/JavaX-Caches/tmp_1759307351/main.java:62: error: class, interface, or enum expected transient volatile long changes, changesWritten, lastChange; ^ /root/JavaX-Caches/tmp_1759307351/main.java:63: error: class, interface, or enum expected transient volatile java.util.Timer autoSaver; ^ /root/JavaX-Caches/tmp_1759307351/main.java:64: error: class, interface, or enum expected transient volatile bool dontSave; ^ /root/JavaX-Caches/tmp_1759307351/main.java:65: error: class, interface, or enum expected transient volatile bool savingConcepts, noXFullGrab; ^ /root/JavaX-Caches/tmp_1759307351/main.java:66: error: class, interface, or enum expected transient bool vmBusSend = true; ^ /root/JavaX-Caches/tmp_1759307351/main.java:67: error: class, interface, or enum expected transient bool initialSave = false; // set to false to avoid initial useless saving ^ /root/JavaX-Caches/tmp_1759307351/main.java:68: error: class, interface, or enum expected transient int autoSaveInterval = -1000; // 1 second + wait logic ^ /root/JavaX-Caches/tmp_1759307351/main.java:69: error: class, interface, or enum expected transient bool useGZIP = true, quietSave; ^ /root/JavaX-Caches/tmp_1759307351/main.java:70: error: class, interface, or enum expected transient ReentrantLock lock = new ReentrantLock(true); ^ /root/JavaX-Caches/tmp_1759307351/main.java:71: error: class, interface, or enum expected transient ReentrantLock saverLock = new ReentrantLock(true); ^ /root/JavaX-Caches/tmp_1759307351/main.java:72: error: class, interface, or enum expected transient long lastSaveTook = -1, lastSaveWas, loadTook, uncompressedSize; ^ /root/JavaX-Caches/tmp_1759307351/main.java:73: error: class, interface, or enum expected transient float maxAutoSavePercentage = 10; ^ /root/JavaX-Caches/tmp_1759307351/main.java:74: error: class, interface, or enum expected transient L<IConceptIndex> conceptIndices; ^ /root/JavaX-Caches/tmp_1759307351/main.java:75: error: class, interface, or enum expected transient Map<Class<? extends Concept>, Map<S, IFieldIndex>> fieldIndices; ^ /root/JavaX-Caches/tmp_1759307351/main.java:76: error: class, interface, or enum expected transient Map<Class<? extends Concept>, Map<S, IFieldIndex>> ciFieldIndices; ^ /root/JavaX-Caches/tmp_1759307351/main.java:78: error: class, interface, or enum expected transient L<Runnable> preSave; ^ /root/JavaX-Caches/tmp_1759307351/main.java:79: error: class, interface, or enum expected transient O classFinder = _defaultClassFinder(); ^ /root/JavaX-Caches/tmp_1759307351/main.java:80: error: class, interface, or enum expected transient L onAllChanged = synchroList(); // list of runnables ^ /root/JavaX-Caches/tmp_1759307351/main.java:81: error: class, interface, or enum expected transient new Set<IVF1> onChange; ^ /root/JavaX-Caches/tmp_1759307351/main.java:82: error: class, interface, or enum expected transient O saveWrapper; // VF1<Runnable>, to profile saving ^ /root/JavaX-Caches/tmp_1759307351/main.java:83: error: class, interface, or enum expected transient bool modifyOnCreate; // set _modified == created initially ^ /root/JavaX-Caches/tmp_1759307351/main.java:84: error: class, interface, or enum expected transient bool modifyOnBackRef; // set modified if back refs change ^ /root/JavaX-Caches/tmp_1759307351/main.java:85: error: class, interface, or enum expected transient bool useFileLock = true; // instead of locking by bot ^ /root/JavaX-Caches/tmp_1759307351/main.java:87: error: class, interface, or enum expected transient FileBasedLock fileLock; ^ /root/JavaX-Caches/tmp_1759307351/main.java:88: error: class, interface, or enum expected transient bool storeBaseClassesInStructure; // helps with schema evolution when concept subclasses disappear ^ /root/JavaX-Caches/tmp_1759307351/main.java:89: error: class, interface, or enum expected transient bool useBackRefsForSearches; // assume backRefs are sane in order to speed up searches ^ /root/JavaX-Caches/tmp_1759307351/main.java:90: error: class, interface, or enum expected transient bool defunct; ^ /root/JavaX-Caches/tmp_1759307351/main.java:91: error: class, interface, or enum expected transient int newBackupEveryXMinutes = 60; ^ /root/JavaX-Caches/tmp_1759307351/main.java:95: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1759307351/main.java:101: error: class, interface, or enum expected } while (hasConcept(idCounter)); ^ /root/JavaX-Caches/tmp_1759307351/main.java:102: error: class, interface, or enum expected ret idCounter; ^ /root/JavaX-Caches/tmp_1759307351/main.java:103: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:107: error: class, interface, or enum expected ret perClassData; ^ /root/JavaX-Caches/tmp_1759307351/main.java:108: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:113: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:118: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:122: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:128: error: class, interface, or enum expected O dbGrabber = miscMapGet("dbGrabber"); ^ /root/JavaX-Caches/tmp_1759307351/main.java:129: error: class, interface, or enum expected if (dbGrabber != null && !isFalse(callF(dbGrabber))) ^ /root/JavaX-Caches/tmp_1759307351/main.java:132: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1759307351/main.java:134: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_1759307351/main.java:137: error: class, interface, or enum expected print("xfullgrab failed - loading DB of " + programID + " from disk"); ^ /root/JavaX-Caches/tmp_1759307351/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:142: error: class, interface, or enum expected Concepts loadFromDisk() { ret loadFromDisk(false); } ^ /root/JavaX-Caches/tmp_1759307351/main.java:149: error: class, interface, or enum expected restoreLatestBackupIfConceptsFileEmpty(programID, doIt := true); ^ /root/JavaX-Caches/tmp_1759307351/main.java:151: error: class, interface, or enum expected long time = now(); ^ /root/JavaX-Caches/tmp_1759307351/main.java:152: error: class, interface, or enum expected Map<Long, Concept> _concepts = concepts; // empty map ^ /root/JavaX-Caches/tmp_1759307351/main.java:153: error: class, interface, or enum expected readLocally2_allDynamic.set(allDynamic); ^ /root/JavaX-Caches/tmp_1759307351/main.java:154: error: class, interface, or enum expected temp tempSetTL(readLocally2_classFinder, classFinder); ^ /root/JavaX-Caches/tmp_1759307351/main.java:155: error: class, interface, or enum expected readLocally2(this, programID, "concepts"); ^ /root/JavaX-Caches/tmp_1759307351/main.java:156: error: class, interface, or enum expected Map<Long, Concept> __concepts = concepts; ^ /root/JavaX-Caches/tmp_1759307351/main.java:157: error: class, interface, or enum expected concepts = _concepts; ^ /root/JavaX-Caches/tmp_1759307351/main.java:158: error: class, interface, or enum expected concepts.putAll(__concepts); ^ /root/JavaX-Caches/tmp_1759307351/main.java:159: error: class, interface, or enum expected int l = readLocally_stringLength; ^ /root/JavaX-Caches/tmp_1759307351/main.java:160: error: class, interface, or enum expected int tokrefs = unstructure_tokrefs; ^ /root/JavaX-Caches/tmp_1759307351/main.java:161: error: class, interface, or enum expected assignConceptsToUs(); ^ /root/JavaX-Caches/tmp_1759307351/main.java:162: error: class, interface, or enum expected loadTook = now()-time; ^ /root/JavaX-Caches/tmp_1759307351/main.java:163: error: class, interface, or enum expected done("Loaded " + n(l(concepts), "concepts"), time); ^ /root/JavaX-Caches/tmp_1759307351/main.java:164: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1759307351/main.java:167: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1759307351/main.java:169: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_1759307351/main.java:171: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:176: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:178: error: class, interface, or enum expected Concepts loadConcepts() { ret load(); } ^ /root/JavaX-Caches/tmp_1759307351/main.java:182: error: class, interface, or enum expected temp RemoteDB db = connectToDBOpt(programID); ^ /root/JavaX-Caches/tmp_1759307351/main.java:183: error: class, interface, or enum expected if (db != null) { ^ /root/JavaX-Caches/tmp_1759307351/main.java:185: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1759307351/main.java:186: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:188: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:192: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:196: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:200: error: class, interface, or enum expected DynamicObject_loading.set(true); ^ /root/JavaX-Caches/tmp_1759307351/main.java:201: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1759307351/main.java:203: error: class, interface, or enum expected concepts.putAll(map); ^ /root/JavaX-Caches/tmp_1759307351/main.java:204: error: class, interface, or enum expected assignConceptsToUs(); ^ /root/JavaX-Caches/tmp_1759307351/main.java:205: error: class, interface, or enum expected for (long l : map.keySet()) ^ /root/JavaX-Caches/tmp_1759307351/main.java:207: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1759307351/main.java:209: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:212: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:220: error: class, interface, or enum expected concepts.remove(p.a); ^ /root/JavaX-Caches/tmp_1759307351/main.java:221: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:224: error: class, interface, or enum expected for (Concept c : values(concepts)) ^ /root/JavaX-Caches/tmp_1759307351/main.java:226: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:230: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:234: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:238: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:242: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:246: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1759307351/main.java:250: error: class, interface, or enum expected if (c == null) ^ /root/JavaX-Caches/tmp_1759307351/main.java:252: error: class, interface, or enum expected else ^ 100 errors only showing the first 100 errors, of 478 total; use -Xmaxerrs if you would like to see more