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

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

/root/JavaX-Caches/tmp_1385221957/main.java:1: error: class, interface, or enum expected persistable sclass NotifyingCollection<E> extends AbstractCollection<E> implements Collection<E> { ^ /root/JavaX-Caches/tmp_1385221957/main.java:4: error: class, interface, or enum expected *() {} // for persistence ^ /root/JavaX-Caches/tmp_1385221957/main.java:7: error: class, interface, or enum expected public int size() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:8: error: class, interface, or enum expected synchronized (this) {return c.size();} ^ /root/JavaX-Caches/tmp_1385221957/main.java:10: error: class, interface, or enum expected public boolean isEmpty() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:11: error: class, interface, or enum expected synchronized (this) {return c.isEmpty();} ^ /root/JavaX-Caches/tmp_1385221957/main.java:13: error: class, interface, or enum expected public boolean contains(Object o) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:14: error: class, interface, or enum expected synchronized (this) {return c.contains(o);} ^ /root/JavaX-Caches/tmp_1385221957/main.java:16: error: class, interface, or enum expected public Object[] toArray() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:17: error: class, interface, or enum expected synchronized (this) {return c.toArray();} ^ /root/JavaX-Caches/tmp_1385221957/main.java:19: error: class, interface, or enum expected public <T> T[] toArray(T[] a) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:20: error: class, interface, or enum expected synchronized (this) {return c.toArray(a);} ^ /root/JavaX-Caches/tmp_1385221957/main.java:23: error: class, interface, or enum expected public Iterator<E> iterator() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:25: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:27: error: class, interface, or enum expected public boolean add(E e) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:28: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.add(e)) false; } change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:28: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.add(e)) false; } change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:28: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.add(e)) false; } change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:30: error: class, interface, or enum expected public boolean remove(Object o) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:31: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.remove(o)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:31: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.remove(o)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:31: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.remove(o)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:34: error: class, interface, or enum expected public boolean containsAll(Collection<?> coll) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:35: error: class, interface, or enum expected synchronized (this) {return c.containsAll(coll);} ^ /root/JavaX-Caches/tmp_1385221957/main.java:37: error: class, interface, or enum expected public boolean addAll(Collection<? extends E> coll) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:38: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.addAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:38: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.addAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:38: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.addAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:40: error: class, interface, or enum expected public boolean removeAll(Collection<?> coll) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:41: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.removeAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:41: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.removeAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:41: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.removeAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:43: error: class, interface, or enum expected public boolean retainAll(Collection<?> coll) { ^ /root/JavaX-Caches/tmp_1385221957/main.java:44: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.retainAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:44: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.retainAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:44: error: class, interface, or enum expected synchronized (this) { beforeChange(); if (!c.retainAll(coll)) false;} change(); true; ^ /root/JavaX-Caches/tmp_1385221957/main.java:45: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:46: error: class, interface, or enum expected public void clear() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:47: error: class, interface, or enum expected synchronized (this) { beforeChange(); c.clear();} change(); ^ /root/JavaX-Caches/tmp_1385221957/main.java:47: error: class, interface, or enum expected synchronized (this) { beforeChange(); c.clear();} change(); ^ /root/JavaX-Caches/tmp_1385221957/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:49: error: class, interface, or enum expected public String toString() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:50: error: class, interface, or enum expected synchronized (this) {return c.toString();} ^ /root/JavaX-Caches/tmp_1385221957/main.java:61: error: class, interface, or enum expected public Spliterator<E> spliterator() { ^ /root/JavaX-Caches/tmp_1385221957/main.java:63: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1385221957/main.java:76: error: class, interface, or enum expected Collection<E> unwrap() { ret c; } ^ 50 errors