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

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

/root/JavaX-Caches/tmp_1070087571/main.java:1: error: class, interface, or enum expected sclass SynchronizedList<E> extends SynchronizedCollection<E> implements List<E> { ^ /root/JavaX-Caches/tmp_1070087571/main.java:2: error: class, interface, or enum expected final List<E> list; ^ /root/JavaX-Caches/tmp_1070087571/main.java:4: error: class, interface, or enum expected SynchronizedList(List<E> list) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:6: error: class, interface, or enum expected this.list = list; ^ /root/JavaX-Caches/tmp_1070087571/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1070087571/main.java:10: error: class, interface, or enum expected this.list = list; ^ /root/JavaX-Caches/tmp_1070087571/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1070087571/main.java:13: error: class, interface, or enum expected public boolean equals(Object o) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:16: error: class, interface, or enum expected synchronized (mutex) {return list.equals(o);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:16: error: class, interface, or enum expected synchronized (mutex) {return list.equals(o);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:18: error: class, interface, or enum expected public int hashCode() { ^ /root/JavaX-Caches/tmp_1070087571/main.java:19: error: class, interface, or enum expected synchronized (mutex) {return list.hashCode();} ^ /root/JavaX-Caches/tmp_1070087571/main.java:22: error: class, interface, or enum expected public E get(int index) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:23: error: class, interface, or enum expected synchronized (mutex) {return list.get(index);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:25: error: class, interface, or enum expected public E set(int index, E element) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:26: error: class, interface, or enum expected synchronized (mutex) {return list.set(index, element);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:28: error: class, interface, or enum expected public void add(int index, E element) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:29: error: class, interface, or enum expected synchronized (mutex) {list.add(index, element);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:31: error: class, interface, or enum expected public E remove(int index) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:32: error: class, interface, or enum expected synchronized (mutex) {return list.remove(index);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:35: error: class, interface, or enum expected public int indexOf(Object o) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:36: error: class, interface, or enum expected synchronized (mutex) {return list.indexOf(o);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:38: error: class, interface, or enum expected public int lastIndexOf(Object o) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:39: error: class, interface, or enum expected synchronized (mutex) {return list.lastIndexOf(o);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:42: error: class, interface, or enum expected public boolean addAll(int index, Collection<? extends E> c) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:43: error: class, interface, or enum expected synchronized (mutex) {return list.addAll(index, c);} ^ /root/JavaX-Caches/tmp_1070087571/main.java:46: error: class, interface, or enum expected public ListIterator<E> listIterator() { ^ /root/JavaX-Caches/tmp_1070087571/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1070087571/main.java:50: error: class, interface, or enum expected public ListIterator<E> listIterator(int index) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1070087571/main.java:54: error: class, interface, or enum expected public List<E> subList(int fromIndex, int toIndex) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1070087571/main.java:65: error: class, interface, or enum expected public void sort(Comparator<? super E> c) { ^ /root/JavaX-Caches/tmp_1070087571/main.java:66: error: class, interface, or enum expected synchronized (mutex) {list.sort(c);} ^ 34 errors