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

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

/root/JavaX-Caches/tmp_1230801705/main.java:5: error: class, interface, or enum expected persistable sclass SynchronizedTypedArrayList<A> extends SynchronizedArrayList_Base<A> implements RandomAccess, Cloneable { ^ /root/JavaX-Caches/tmp_1230801705/main.java:6: error: class, interface, or enum expected private static final int DEFAULT_CAPACITY = 10; ^ /root/JavaX-Caches/tmp_1230801705/main.java:7: error: class, interface, or enum expected transient Object[] elementData; // non-private to simplify nested class access ^ /root/JavaX-Caches/tmp_1230801705/main.java:8: error: class, interface, or enum expected private int size; ^ /root/JavaX-Caches/tmp_1230801705/main.java:10: error: class, interface, or enum expected private *() {} // for persistence only - sadly this doesn't actually restrict access since we're an inner class ^ /root/JavaX-Caches/tmp_1230801705/main.java:14: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:19: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1230801705/main.java:22: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:26: error: class, interface, or enum expected addAll(c); ^ /root/JavaX-Caches/tmp_1230801705/main.java:27: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:29: error: class, interface, or enum expected public synchronized void trimToSize() { ^ /root/JavaX-Caches/tmp_1230801705/main.java:31: error: class, interface, or enum expected if (size < elementData.length) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:36: error: class, interface, or enum expected public synchronized void ensureCapacity(int minCapacity) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:41: error: class, interface, or enum expected if (minCapacity > minExpand) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:43: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:50: error: class, interface, or enum expected ensureExplicitCapacity(minCapacity); ^ /root/JavaX-Caches/tmp_1230801705/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:57: error: class, interface, or enum expected if (minCapacity - elementData.length > 0) ^ /root/JavaX-Caches/tmp_1230801705/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:61: error: class, interface, or enum expected private static final int MAX_ARRAY_SIZE = Integer.MAX_VALUE - 8; ^ /root/JavaX-Caches/tmp_1230801705/main.java:63: error: class, interface, or enum expected private void grow(int minCapacity) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:66: error: class, interface, or enum expected int newCapacity = oldCapacity + (oldCapacity >> 1); ^ /root/JavaX-Caches/tmp_1230801705/main.java:67: error: class, interface, or enum expected if (newCapacity - minCapacity < 0) ^ /root/JavaX-Caches/tmp_1230801705/main.java:69: error: class, interface, or enum expected if (newCapacity - MAX_ARRAY_SIZE > 0) ^ /root/JavaX-Caches/tmp_1230801705/main.java:72: error: class, interface, or enum expected elementData = Arrays.copyOf(elementData, newCapacity); ^ /root/JavaX-Caches/tmp_1230801705/main.java:73: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:78: error: class, interface, or enum expected return (minCapacity > MAX_ARRAY_SIZE) ? ^ /root/JavaX-Caches/tmp_1230801705/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:83: error: class, interface, or enum expected public synchronized int size() { ^ /root/JavaX-Caches/tmp_1230801705/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:87: error: class, interface, or enum expected public synchronized boolean isEmpty() { ^ /root/JavaX-Caches/tmp_1230801705/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:91: error: class, interface, or enum expected public boolean contains(Object o) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:93: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:95: error: class, interface, or enum expected public synchronized int indexOf(Object o) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:97: error: class, interface, or enum expected for (int i = 0; i < size; i++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:97: error: class, interface, or enum expected for (int i = 0; i < size; i++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:100: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_1230801705/main.java:101: error: class, interface, or enum expected for (int i = 0; i < size; i++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:101: error: class, interface, or enum expected for (int i = 0; i < size; i++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:104: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:106: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:108: error: class, interface, or enum expected public synchronized int lastIndexOf(Object o) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:110: error: class, interface, or enum expected for (int i = size-1; i >= 0; i--) ^ /root/JavaX-Caches/tmp_1230801705/main.java:110: error: class, interface, or enum expected for (int i = size-1; i >= 0; i--) ^ /root/JavaX-Caches/tmp_1230801705/main.java:113: error: class, interface, or enum expected } else { ^ /root/JavaX-Caches/tmp_1230801705/main.java:114: error: class, interface, or enum expected for (int i = size-1; i >= 0; i--) ^ /root/JavaX-Caches/tmp_1230801705/main.java:114: error: class, interface, or enum expected for (int i = size-1; i >= 0; i--) ^ /root/JavaX-Caches/tmp_1230801705/main.java:117: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:119: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:121: error: class, interface, or enum expected public synchronized Object clone() { ^ /root/JavaX-Caches/tmp_1230801705/main.java:123: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:125: error: class, interface, or enum expected public synchronized Object[] toArray() { ^ /root/JavaX-Caches/tmp_1230801705/main.java:127: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:130: error: class, interface, or enum expected public synchronized <T> T[] toArray(T[] a) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:134: error: class, interface, or enum expected System.arraycopy(elementData, 0, a, 0, size); ^ /root/JavaX-Caches/tmp_1230801705/main.java:135: error: class, interface, or enum expected if (a.length > size) ^ /root/JavaX-Caches/tmp_1230801705/main.java:137: error: class, interface, or enum expected return a; ^ /root/JavaX-Caches/tmp_1230801705/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:143: error: class, interface, or enum expected A elementData(int index) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:145: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:147: error: class, interface, or enum expected public synchronized A get(int index) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:150: error: class, interface, or enum expected return elementData(index); ^ /root/JavaX-Caches/tmp_1230801705/main.java:151: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:153: error: class, interface, or enum expected public synchronized A set(int index, A element) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:156: error: class, interface, or enum expected A oldValue = elementData(index); ^ /root/JavaX-Caches/tmp_1230801705/main.java:157: error: class, interface, or enum expected elementData[index] = element; ^ /root/JavaX-Caches/tmp_1230801705/main.java:158: error: class, interface, or enum expected return oldValue; ^ /root/JavaX-Caches/tmp_1230801705/main.java:159: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:161: error: class, interface, or enum expected public synchronized boolean add(A e) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:163: error: class, interface, or enum expected elementData[size] = e; ^ /root/JavaX-Caches/tmp_1230801705/main.java:164: error: class, interface, or enum expected size++; // Increment only afterwards to make sure store went through ^ /root/JavaX-Caches/tmp_1230801705/main.java:165: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1230801705/main.java:166: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:168: error: class, interface, or enum expected public synchronized void add(int index, A element) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:171: error: class, interface, or enum expected ensureCapacityInternal(size + 1); // Increments modCount!! ^ /root/JavaX-Caches/tmp_1230801705/main.java:172: error: class, interface, or enum expected System.arraycopy(elementData, index, elementData, index + 1, ^ /root/JavaX-Caches/tmp_1230801705/main.java:174: error: class, interface, or enum expected elementData[index] = element; ^ /root/JavaX-Caches/tmp_1230801705/main.java:175: error: class, interface, or enum expected size++; ^ /root/JavaX-Caches/tmp_1230801705/main.java:176: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:178: error: class, interface, or enum expected public synchronized A remove(int index) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:181: error: class, interface, or enum expected modCount++; ^ /root/JavaX-Caches/tmp_1230801705/main.java:182: error: class, interface, or enum expected A oldValue = elementData(index); ^ /root/JavaX-Caches/tmp_1230801705/main.java:184: error: class, interface, or enum expected int numMoved = size - index - 1; ^ /root/JavaX-Caches/tmp_1230801705/main.java:185: error: class, interface, or enum expected if (numMoved > 0) ^ /root/JavaX-Caches/tmp_1230801705/main.java:188: error: class, interface, or enum expected elementData[--size] = null; // clear to let GC do its work ^ /root/JavaX-Caches/tmp_1230801705/main.java:190: error: class, interface, or enum expected return oldValue; ^ /root/JavaX-Caches/tmp_1230801705/main.java:191: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:193: error: class, interface, or enum expected public synchronized boolean remove(Object o) { ^ /root/JavaX-Caches/tmp_1230801705/main.java:195: error: class, interface, or enum expected for (int index = 0; index < size; index++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:195: error: class, interface, or enum expected for (int index = 0; index < size; index++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:198: error: class, interface, or enum expected return true; ^ /root/JavaX-Caches/tmp_1230801705/main.java:199: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:201: error: class, interface, or enum expected for (int index = 0; index < size; index++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:201: error: class, interface, or enum expected for (int index = 0; index < size; index++) ^ /root/JavaX-Caches/tmp_1230801705/main.java:204: error: class, interface, or enum expected return true; ^ /root/JavaX-Caches/tmp_1230801705/main.java:205: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:208: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1230801705/main.java:212: error: class, interface, or enum expected int numMoved = size - index - 1; ^ 100 errors only showing the first 100 errors, of 177 total; use -Xmaxerrs if you would like to see more