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

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

/root/JavaX-Caches/tmp_1304065790/main.java:1: error: class, interface, or enum expected sclass DBWatcher { ^ /root/JavaX-Caches/tmp_1304065790/main.java:3: error: class, interface, or enum expected RemoteDB db; ^ /root/JavaX-Caches/tmp_1304065790/main.java:4: error: class, interface, or enum expected long dbDate; ^ /root/JavaX-Caches/tmp_1304065790/main.java:5: error: class, interface, or enum expected long changeCount = 0; ^ /root/JavaX-Caches/tmp_1304065790/main.java:6: error: class, interface, or enum expected long exportedChangeCount = 0; ^ /root/JavaX-Caches/tmp_1304065790/main.java:8: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1304065790/main.java:11: error: class, interface, or enum expected bool live() { ret db != null; } ^ /root/JavaX-Caches/tmp_1304065790/main.java:16: error: class, interface, or enum expected db = null; ^ /root/JavaX-Caches/tmp_1304065790/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1304065790/main.java:22: error: class, interface, or enum expected pcall-short { ^ /root/JavaX-Caches/tmp_1304065790/main.java:25: error: class, interface, or enum expected if (db != null) print("Connected to " + dbID + "."); ^ /root/JavaX-Caches/tmp_1304065790/main.java:26: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1304065790/main.java:31: error: class, interface, or enum expected if (!live()) tryConnect(); ^ /root/JavaX-Caches/tmp_1304065790/main.java:32: error: class, interface, or enum expected if (!liveBefore && live()) changeCount = 0; ^ /root/JavaX-Caches/tmp_1304065790/main.java:33: error: class, interface, or enum expected if (live() && getLiveData()) ret; ^ /root/JavaX-Caches/tmp_1304065790/main.java:34: error: class, interface, or enum expected closeDB(); ^ /root/JavaX-Caches/tmp_1304065790/main.java:35: error: class, interface, or enum expected getStaticData(); ^ /root/JavaX-Caches/tmp_1304065790/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1304065790/main.java:41: error: class, interface, or enum expected int n = db.xcount(); ^ /root/JavaX-Caches/tmp_1304065790/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1304065790/main.java:44: error: class, interface, or enum expected if (change) ++exportedChangeCount; ^ /root/JavaX-Caches/tmp_1304065790/main.java:45: error: class, interface, or enum expected changeCount = cc; ^ /root/JavaX-Caches/tmp_1304065790/main.java:46: error: class, interface, or enum expected print((change ? "CHANGE. " : "") + "Live change count: " + cc + ", objects: " + n); ^ /root/JavaX-Caches/tmp_1304065790/main.java:47: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1304065790/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1304065790/main.java:52: error: class, interface, or enum expected long mod = conceptsFile.lastModified(); ^ /root/JavaX-Caches/tmp_1304065790/main.java:53: error: class, interface, or enum expected bool change = mod != dbDate; ^ /root/JavaX-Caches/tmp_1304065790/main.java:54: error: class, interface, or enum expected if (change) ++exportedChangeCount; ^ /root/JavaX-Caches/tmp_1304065790/main.java:55: error: class, interface, or enum expected dbDate = mod; ^ /root/JavaX-Caches/tmp_1304065790/main.java:56: error: class, interface, or enum expected print((change ? "CHANGE. " : "") + "DB date: " + dbDate); ^ /root/JavaX-Caches/tmp_1304065790/main.java:57: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1304065790/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1304065790/main.java:63: error: class, interface, or enum expected } ^ 33 errors