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

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

/root/JavaX-Caches/tmp_711903294/main.java:1: error: class, interface, or enum expected public boolean equals(Object o) { ^ /root/JavaX-Caches/tmp_711903294/main.java:4: error: class, interface, or enum expected synchronized (this) {return list.equals(o);} ^ /root/JavaX-Caches/tmp_711903294/main.java:4: error: class, interface, or enum expected synchronized (this) {return list.equals(o);} ^ /root/JavaX-Caches/tmp_711903294/main.java:6: error: class, interface, or enum expected public int hashCode() { ^ /root/JavaX-Caches/tmp_711903294/main.java:7: error: class, interface, or enum expected synchronized (this) {return list.hashCode();} ^ /root/JavaX-Caches/tmp_711903294/main.java:10: error: class, interface, or enum expected public E get(int index) { ^ /root/JavaX-Caches/tmp_711903294/main.java:11: error: class, interface, or enum expected synchronized (this) {return list.get(index);} ^ /root/JavaX-Caches/tmp_711903294/main.java:13: error: class, interface, or enum expected public E set(int index, E element) { ^ /root/JavaX-Caches/tmp_711903294/main.java:14: error: class, interface, or enum expected synchronized (this) {return list.set(index, element);} ^ /root/JavaX-Caches/tmp_711903294/main.java:16: error: class, interface, or enum expected public void add(int index, E element) { ^ /root/JavaX-Caches/tmp_711903294/main.java:17: error: class, interface, or enum expected synchronized (this) {list.add(index, element);} change(); ^ /root/JavaX-Caches/tmp_711903294/main.java:18: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_711903294/main.java:19: error: class, interface, or enum expected public E remove(int index) { ^ /root/JavaX-Caches/tmp_711903294/main.java:21: error: class, interface, or enum expected synchronized (this) { e = list.remove(index); } ^ /root/JavaX-Caches/tmp_711903294/main.java:21: error: class, interface, or enum expected synchronized (this) { e = list.remove(index); } ^ /root/JavaX-Caches/tmp_711903294/main.java:23: error: class, interface, or enum expected ret e; ^ /root/JavaX-Caches/tmp_711903294/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_711903294/main.java:26: error: class, interface, or enum expected public int indexOf(Object o) { ^ /root/JavaX-Caches/tmp_711903294/main.java:27: error: class, interface, or enum expected synchronized (this) {return list.indexOf(o);} ^ /root/JavaX-Caches/tmp_711903294/main.java:29: error: class, interface, or enum expected public int lastIndexOf(Object o) { ^ /root/JavaX-Caches/tmp_711903294/main.java:30: error: class, interface, or enum expected synchronized (this) {return list.lastIndexOf(o);} ^ /root/JavaX-Caches/tmp_711903294/main.java:33: error: class, interface, or enum expected public boolean addAll(int index, Collection<? extends E> c) { ^ /root/JavaX-Caches/tmp_711903294/main.java:34: error: class, interface, or enum expected synchronized (this) {if (!list.addAll(index, c)) false;} change(); true; ^ /root/JavaX-Caches/tmp_711903294/main.java:34: error: class, interface, or enum expected synchronized (this) {if (!list.addAll(index, c)) false;} change(); true; ^ /root/JavaX-Caches/tmp_711903294/main.java:35: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_711903294/main.java:37: error: class, interface, or enum expected public ListIterator<E> listIterator() { ^ /root/JavaX-Caches/tmp_711903294/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_711903294/main.java:41: error: class, interface, or enum expected public ListIterator<E> listIterator(int index) { ^ /root/JavaX-Caches/tmp_711903294/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_711903294/main.java:49: error: class, interface, or enum expected public void sort(Comparator<? super E> c) { ^ /root/JavaX-Caches/tmp_711903294/main.java:50: error: class, interface, or enum expected synchronized (this) {list.sort(c);} change(); ^ /root/JavaX-Caches/tmp_711903294/main.java:51: error: class, interface, or enum expected } ^ 32 errors