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

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

/root/JavaX-Caches/tmp_1654650426/main.java:4: error: class, interface, or enum expected please include function dbLock. ^ /root/JavaX-Caches/tmp_1654650426/main.java:8: error: class, interface, or enum expected static new ThreadLocal<Bool> concepts_unlisted; ^ /root/JavaX-Caches/tmp_1654650426/main.java:9: error: class, interface, or enum expected sbool concepts_unlistedByDefault; // true = we can create instances of concepts with "new" without registering them automatically ^ /root/JavaX-Caches/tmp_1654650426/main.java:32: error: class, interface, or enum expected sclass Concepts implements AutoCloseable { ^ /root/JavaX-Caches/tmp_1654650426/main.java:34: error: class, interface, or enum expected long idCounter; ^ /root/JavaX-Caches/tmp_1654650426/main.java:36: error: class, interface, or enum expected transient HashMap<Class, O> perClassData; ^ /root/JavaX-Caches/tmp_1654650426/main.java:37: error: class, interface, or enum expected transient Map miscMap; // don't use directly, call miscMap... methods to access ^ /root/JavaX-Caches/tmp_1654650426/main.java:42: error: class, interface, or enum expected transient S programID; ^ /root/JavaX-Caches/tmp_1654650426/main.java:44: error: class, interface, or enum expected transient Concepts parent; // new mechanism ^ /root/JavaX-Caches/tmp_1654650426/main.java:45: error: class, interface, or enum expected transient volatile long changes, changesWritten, lastChange; ^ /root/JavaX-Caches/tmp_1654650426/main.java:46: error: class, interface, or enum expected transient volatile java.util.Timer autoSaver; ^ /root/JavaX-Caches/tmp_1654650426/main.java:47: error: class, interface, or enum expected transient volatile bool dontSave; ^ /root/JavaX-Caches/tmp_1654650426/main.java:48: error: class, interface, or enum expected transient volatile bool savingConcepts, noXFullGrab; ^ /root/JavaX-Caches/tmp_1654650426/main.java:49: error: class, interface, or enum expected transient bool vmBusSend = true; ^ /root/JavaX-Caches/tmp_1654650426/main.java:50: error: class, interface, or enum expected transient bool initialSave = true; // set to false to avoid initial useless saving ^ /root/JavaX-Caches/tmp_1654650426/main.java:51: error: class, interface, or enum expected transient int autoSaveInterval = -1000; // 1 second + wait logic ^ /root/JavaX-Caches/tmp_1654650426/main.java:52: error: class, interface, or enum expected transient bool useGZIP = true, quietSave; ^ /root/JavaX-Caches/tmp_1654650426/main.java:53: error: class, interface, or enum expected transient ReentrantLock lock = new ReentrantLock(true); ^ /root/JavaX-Caches/tmp_1654650426/main.java:54: error: class, interface, or enum expected transient ReentrantLock saverLock = new ReentrantLock(true); ^ /root/JavaX-Caches/tmp_1654650426/main.java:55: error: class, interface, or enum expected transient long lastSaveTook = -1, lastSaveWas, loadTook, uncompressedSize; ^ /root/JavaX-Caches/tmp_1654650426/main.java:56: error: class, interface, or enum expected transient float maxAutoSavePercentage = 10; ^ /root/JavaX-Caches/tmp_1654650426/main.java:57: error: class, interface, or enum expected transient L<IConceptIndex> conceptIndices; ^ /root/JavaX-Caches/tmp_1654650426/main.java:58: error: class, interface, or enum expected transient Map<Class<? extends Concept>, Map<S, IFieldIndex>> fieldIndices; ^ /root/JavaX-Caches/tmp_1654650426/main.java:59: error: class, interface, or enum expected transient Map<Class<? extends Concept>, Map<S, IFieldIndex>> ciFieldIndices; ^ /root/JavaX-Caches/tmp_1654650426/main.java:60: error: class, interface, or enum expected transient L saveActions = synchroList(); ^ /root/JavaX-Caches/tmp_1654650426/main.java:61: error: class, interface, or enum expected transient O classFinder = _defaultClassFinder(); ^ /root/JavaX-Caches/tmp_1654650426/main.java:62: error: class, interface, or enum expected transient L onAllChanged = synchroList(); // list of runnables ^ /root/JavaX-Caches/tmp_1654650426/main.java:64: error: class, interface, or enum expected transient O saveWrapper; // VF1<Runnable>, to profile saving ^ /root/JavaX-Caches/tmp_1654650426/main.java:65: error: class, interface, or enum expected transient bool modifyOnCreate; // set _modified == created initially ^ /root/JavaX-Caches/tmp_1654650426/main.java:66: error: class, interface, or enum expected transient bool modifyOnBackRef; // set modified if back refs change ^ /root/JavaX-Caches/tmp_1654650426/main.java:67: error: class, interface, or enum expected transient bool useFileLock = true; // instead of locking by bot ^ /root/JavaX-Caches/tmp_1654650426/main.java:68: error: class, interface, or enum expected transient FileBasedLock fileLock; ^ /root/JavaX-Caches/tmp_1654650426/main.java:69: error: class, interface, or enum expected transient bool storeBaseClassesInStructure; // helps with schema evolution when concept subclasses disappear ^ /root/JavaX-Caches/tmp_1654650426/main.java:70: error: class, interface, or enum expected transient bool useBackRefsForSearches; // assume backRefs are sane in order to speed up searches ^ /root/JavaX-Caches/tmp_1654650426/main.java:72: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1654650426/main.java:78: error: class, interface, or enum expected } while (hasConcept(idCounter)); ^ /root/JavaX-Caches/tmp_1654650426/main.java:79: error: class, interface, or enum expected ret idCounter; ^ /root/JavaX-Caches/tmp_1654650426/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:84: error: class, interface, or enum expected ret perClassData; ^ /root/JavaX-Caches/tmp_1654650426/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:105: error: class, interface, or enum expected O dbGrabber = miscMapGet("dbGrabber"); ^ /root/JavaX-Caches/tmp_1654650426/main.java:106: error: class, interface, or enum expected if (dbGrabber != null && !isFalse(callF(dbGrabber))) ^ /root/JavaX-Caches/tmp_1654650426/main.java:109: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1654650426/main.java:111: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_1654650426/main.java:114: error: class, interface, or enum expected print("xfullgrab failed - loading DB of " + programID + " from disk"); ^ /root/JavaX-Caches/tmp_1654650426/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:117: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:119: error: class, interface, or enum expected Concepts loadFromDisk() { ret loadFromDisk(false); } ^ /root/JavaX-Caches/tmp_1654650426/main.java:126: error: class, interface, or enum expected restoreLatestBackupIfConceptsFileEmpty(programID, doIt := true); ^ /root/JavaX-Caches/tmp_1654650426/main.java:128: error: class, interface, or enum expected long time = now(); ^ /root/JavaX-Caches/tmp_1654650426/main.java:129: error: class, interface, or enum expected Map<Long, Concept> _concepts = concepts; // empty map ^ /root/JavaX-Caches/tmp_1654650426/main.java:130: error: class, interface, or enum expected readLocally2_allDynamic.set(allDynamic); ^ /root/JavaX-Caches/tmp_1654650426/main.java:131: error: class, interface, or enum expected temp tempSetTL(readLocally2_classFinder, classFinder); ^ /root/JavaX-Caches/tmp_1654650426/main.java:132: error: class, interface, or enum expected readLocally2(this, programID, "concepts"); ^ /root/JavaX-Caches/tmp_1654650426/main.java:133: error: class, interface, or enum expected Map<Long, Concept> __concepts = concepts; ^ /root/JavaX-Caches/tmp_1654650426/main.java:134: error: class, interface, or enum expected concepts = _concepts; ^ /root/JavaX-Caches/tmp_1654650426/main.java:135: error: class, interface, or enum expected concepts.putAll(__concepts); ^ /root/JavaX-Caches/tmp_1654650426/main.java:136: error: class, interface, or enum expected int l = readLocally_stringLength; ^ /root/JavaX-Caches/tmp_1654650426/main.java:137: error: class, interface, or enum expected int tokrefs = unstructure_tokrefs; ^ /root/JavaX-Caches/tmp_1654650426/main.java:138: error: class, interface, or enum expected assignConceptsToUs(); ^ /root/JavaX-Caches/tmp_1654650426/main.java:139: error: class, interface, or enum expected loadTook = now()-time; ^ /root/JavaX-Caches/tmp_1654650426/main.java:140: error: class, interface, or enum expected done("Loaded " + n(l(concepts), "concepts"), time); ^ /root/JavaX-Caches/tmp_1654650426/main.java:141: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1654650426/main.java:144: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1654650426/main.java:146: error: class, interface, or enum expected } catch print e { ^ /root/JavaX-Caches/tmp_1654650426/main.java:148: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:153: error: class, interface, or enum expected ret this; ^ /root/JavaX-Caches/tmp_1654650426/main.java:154: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:156: error: class, interface, or enum expected Concepts loadConcepts() { ret load(); } ^ /root/JavaX-Caches/tmp_1654650426/main.java:160: error: class, interface, or enum expected temp RemoteDB db = connectToDBOpt(programID); ^ /root/JavaX-Caches/tmp_1654650426/main.java:161: error: class, interface, or enum expected if (db != null) { ^ /root/JavaX-Caches/tmp_1654650426/main.java:163: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1654650426/main.java:164: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:166: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:170: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:174: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:178: error: class, interface, or enum expected DynamicObject_loading.set(true); ^ /root/JavaX-Caches/tmp_1654650426/main.java:179: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1654650426/main.java:181: error: class, interface, or enum expected concepts.putAll(map); ^ /root/JavaX-Caches/tmp_1654650426/main.java:182: error: class, interface, or enum expected assignConceptsToUs(); ^ /root/JavaX-Caches/tmp_1654650426/main.java:183: error: class, interface, or enum expected for (long l : map.keySet()) ^ /root/JavaX-Caches/tmp_1654650426/main.java:185: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1654650426/main.java:187: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:189: error: class, interface, or enum expected ret this; ^ /root/JavaX-Caches/tmp_1654650426/main.java:190: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:198: error: class, interface, or enum expected concepts.remove(p.a); ^ /root/JavaX-Caches/tmp_1654650426/main.java:199: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:202: error: class, interface, or enum expected for (Concept c : values(concepts)) ^ /root/JavaX-Caches/tmp_1654650426/main.java:204: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:208: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:212: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:216: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:220: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:224: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1654650426/main.java:228: error: class, interface, or enum expected if (c == null) ^ /root/JavaX-Caches/tmp_1654650426/main.java:230: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1654650426/main.java:232: error: class, interface, or enum expected } ^ 100 errors only showing the first 100 errors, of 429 total; use -Xmaxerrs if you would like to see more