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

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

/root/JavaX-Caches/tmp_1463059870/main.java:1: error: class, interface, or enum expected sclass ConceptsShadowLogger implements AutoCloseable { ^ /root/JavaX-Caches/tmp_1463059870/main.java:4: error: class, interface, or enum expected int delay = 500; // how long to wait before writing changes (ms) ^ /root/JavaX-Caches/tmp_1463059870/main.java:5: error: class, interface, or enum expected bool verbose; ^ /root/JavaX-Caches/tmp_1463059870/main.java:8: error: class, interface, or enum expected L<ConceptShadow> shadows; ^ /root/JavaX-Caches/tmp_1463059870/main.java:11: error: class, interface, or enum expected new HashSet<Long> changedIDs; ^ /root/JavaX-Caches/tmp_1463059870/main.java:12: error: class, interface, or enum expected bool fullChange; ^ /root/JavaX-Caches/tmp_1463059870/main.java:15: error: class, interface, or enum expected PrintWriter writer; ^ /root/JavaX-Caches/tmp_1463059870/main.java:18: error: class, interface, or enum expected Lock lock = lock(); ^ /root/JavaX-Caches/tmp_1463059870/main.java:19: error: class, interface, or enum expected transient Q q = startQ("ConceptsShadowLogger"); ^ /root/JavaX-Caches/tmp_1463059870/main.java:21: error: class, interface, or enum expected IVF1<ConceptsChange> changeHandler = change -> { ^ /root/JavaX-Caches/tmp_1463059870/main.java:23: error: class, interface, or enum expected if (change cast ConceptChange) ^ /root/JavaX-Caches/tmp_1463059870/main.java:25: error: class, interface, or enum expected else if (change cast ConceptCreate) ^ /root/JavaX-Caches/tmp_1463059870/main.java:27: error: class, interface, or enum expected else if (change cast ConceptDelete) ^ /root/JavaX-Caches/tmp_1463059870/main.java:29: error: class, interface, or enum expected else if (change cast FullChange) ^ /root/JavaX-Caches/tmp_1463059870/main.java:31: error: class, interface, or enum expected }; ^ /root/JavaX-Caches/tmp_1463059870/main.java:33: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1463059870/main.java:38: error: class, interface, or enum expected cc.onChange(changeHandler); ^ /root/JavaX-Caches/tmp_1463059870/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:57: error: class, interface, or enum expected Set<Long> changedIDs; ^ /root/JavaX-Caches/tmp_1463059870/main.java:58: error: class, interface, or enum expected { ^ /root/JavaX-Caches/tmp_1463059870/main.java:60: error: class, interface, or enum expected if (fullChange) { ^ /root/JavaX-Caches/tmp_1463059870/main.java:62: error: class, interface, or enum expected fullChange = false; ^ /root/JavaX-Caches/tmp_1463059870/main.java:63: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_1463059870/main.java:65: error: class, interface, or enum expected this.changedIDs = new HashSet; ^ /root/JavaX-Caches/tmp_1463059870/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:72: error: class, interface, or enum expected new L<CreatedDeletedChanged<ConceptShadow>> diffs; ^ /root/JavaX-Caches/tmp_1463059870/main.java:73: error: class, interface, or enum expected new L<ConceptShadow> updatedShadows; ^ /root/JavaX-Caches/tmp_1463059870/main.java:75: error: class, interface, or enum expected int i1 = 0, i2 = 0; ^ /root/JavaX-Caches/tmp_1463059870/main.java:76: error: class, interface, or enum expected LPair<Long, ConceptShadow> l1 = newShadows; ^ /root/JavaX-Caches/tmp_1463059870/main.java:77: error: class, interface, or enum expected L<ConceptShadow> l2 = shadows; ^ /root/JavaX-Caches/tmp_1463059870/main.java:78: error: class, interface, or enum expected while (i1 < l(l1) && i2 < l(l2)) { ^ /root/JavaX-Caches/tmp_1463059870/main.java:80: error: class, interface, or enum expected ConceptShadow s2 = shadows.get(i2); ^ /root/JavaX-Caches/tmp_1463059870/main.java:81: error: class, interface, or enum expected long id2 = s2.id(); ^ /root/JavaX-Caches/tmp_1463059870/main.java:82: error: class, interface, or enum expected if (id1 < id2) { ^ /root/JavaX-Caches/tmp_1463059870/main.java:84: error: class, interface, or enum expected updatedShadows.add(s1); ^ /root/JavaX-Caches/tmp_1463059870/main.java:85: error: class, interface, or enum expected ++i1; ^ /root/JavaX-Caches/tmp_1463059870/main.java:86: error: class, interface, or enum expected } else if (id1 > id2) { ^ /root/JavaX-Caches/tmp_1463059870/main.java:88: error: class, interface, or enum expected ++i2; ^ /root/JavaX-Caches/tmp_1463059870/main.java:89: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_1463059870/main.java:92: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1463059870/main.java:95: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1463059870/main.java:97: error: class, interface, or enum expected updatedShadows.add(s1); ^ /root/JavaX-Caches/tmp_1463059870/main.java:98: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:100: error: class, interface, or enum expected ++i2; ^ /root/JavaX-Caches/tmp_1463059870/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:106: error: class, interface, or enum expected if (s != null) { ^ /root/JavaX-Caches/tmp_1463059870/main.java:108: error: class, interface, or enum expected updatedShadows.add(s); ^ /root/JavaX-Caches/tmp_1463059870/main.java:109: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_1463059870/main.java:111: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:114: error: class, interface, or enum expected shadows = updatedShadows; ^ /root/JavaX-Caches/tmp_1463059870/main.java:116: error: class, interface, or enum expected if (verbose) ^ /root/JavaX-Caches/tmp_1463059870/main.java:119: error: class, interface, or enum expected if (writer != null && nempty(diffs)) { ^ /root/JavaX-Caches/tmp_1463059870/main.java:121: error: class, interface, or enum expected writer.flush(); ^ /root/JavaX-Caches/tmp_1463059870/main.java:122: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1463059870/main.java:125: error: class, interface, or enum expected public void close { ^ /root/JavaX-Caches/tmp_1463059870/main.java:127: error: class, interface, or enum expected } ^ 59 errors