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

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

/root/JavaX-Caches/tmp_1954928384/main.java:2: error: class, interface, or enum expected sclass MapTester { ^ /root/JavaX-Caches/tmp_1954928384/main.java:5: error: class, interface, or enum expected *(SS *map) {} ^ /root/JavaX-Caches/tmp_1954928384/main.java:11: error: class, interface, or enum expected int idLength = 5; ^ /root/JavaX-Caches/tmp_1954928384/main.java:15: error: class, interface, or enum expected int rotateAtLeastEvery = 20; ^ /root/JavaX-Caches/tmp_1954928384/main.java:16: error: class, interface, or enum expected swappable SS rotate(SS map) { ret map; } ^ /root/JavaX-Caches/tmp_1954928384/main.java:16: error: class, interface, or enum expected swappable SS rotate(SS map) { ret map; } ^ /root/JavaX-Caches/tmp_1954928384/main.java:24: error: class, interface, or enum expected int rotCountdown; ^ /root/JavaX-Caches/tmp_1954928384/main.java:25: error: class, interface, or enum expected Random random = predictableRandom(); ^ /root/JavaX-Caches/tmp_1954928384/main.java:29: error: class, interface, or enum expected run { ^ /root/JavaX-Caches/tmp_1954928384/main.java:31: error: class, interface, or enum expected for (int i = -1; i < 2; i++) { int _i = i ; assertException(r { map.get(_i) }); } ^ /root/JavaX-Caches/tmp_1954928384/main.java:31: error: class, interface, or enum expected for (int i = -1; i < 2; i++) { int _i = i ; assertException(r { map.get(_i) }); } ^ /root/JavaX-Caches/tmp_1954928384/main.java:31: error: class, interface, or enum expected for (int i = -1; i < 2; i++) { int _i = i ; assertException(r { map.get(_i) }); } ^ /root/JavaX-Caches/tmp_1954928384/main.java:31: error: class, interface, or enum expected for (int i = -1; i < 2; i++) { int _i = i ; assertException(r { map.get(_i) }); } ^ /root/JavaX-Caches/tmp_1954928384/main.java:31: error: class, interface, or enum expected for (int i = -1; i < 2; i++) { int _i = i ; assertException(r { map.get(_i) }); } ^ /root/JavaX-Caches/tmp_1954928384/main.java:33: error: class, interface, or enum expected rot(); ^ /root/JavaX-Caches/tmp_1954928384/main.java:34: error: class, interface, or enum expected assertEqualsVerbose(1, map.size()); ^ /root/JavaX-Caches/tmp_1954928384/main.java:35: error: class, interface, or enum expected assertException(r { map.get(-1) }); ^ /root/JavaX-Caches/tmp_1954928384/main.java:36: error: class, interface, or enum expected assertEqualsVerbose("hello", map.get(0)); ^ /root/JavaX-Caches/tmp_1954928384/main.java:37: error: class, interface, or enum expected assertException(r { map.get(1) }); ^ /root/JavaX-Caches/tmp_1954928384/main.java:41: error: class, interface, or enum expected new SS refl; ^ /root/JavaX-Caches/tmp_1954928384/main.java:42: error: class, interface, or enum expected map.clear(); ^ /root/JavaX-Caches/tmp_1954928384/main.java:43: error: class, interface, or enum expected repeat n { ^ /root/JavaX-Caches/tmp_1954928384/main.java:45: error: class, interface, or enum expected S id = randomID(random, idLength); ^ /root/JavaX-Caches/tmp_1954928384/main.java:46: error: class, interface, or enum expected print("add " + i + " " + id); ^ /root/JavaX-Caches/tmp_1954928384/main.java:47: error: class, interface, or enum expected refl.add(i, id); ^ /root/JavaX-Caches/tmp_1954928384/main.java:48: error: class, interface, or enum expected map.add(i, id); ^ /root/JavaX-Caches/tmp_1954928384/main.java:49: error: class, interface, or enum expected rot(); ^ /root/JavaX-Caches/tmp_1954928384/main.java:50: error: class, interface, or enum expected assertEquals(l(map), l(refl)); ^ /root/JavaX-Caches/tmp_1954928384/main.java:51: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1954928384/main.java:53: error: class, interface, or enum expected for i over refl: ^ /root/JavaX-Caches/tmp_1954928384/main.java:57: error: class, interface, or enum expected repeat n { ^ /root/JavaX-Caches/tmp_1954928384/main.java:60: error: class, interface, or enum expected S id = randomID(random); ^ /root/JavaX-Caches/tmp_1954928384/main.java:61: error: class, interface, or enum expected print("set " + i + " " + id); ^ /root/JavaX-Caches/tmp_1954928384/main.java:62: error: class, interface, or enum expected assertEquals(map.set(i, id), refl.set(i, id)); ^ /root/JavaX-Caches/tmp_1954928384/main.java:63: error: class, interface, or enum expected assertEquals(l(map), l(refl)); ^ /root/JavaX-Caches/tmp_1954928384/main.java:64: error: class, interface, or enum expected rot(); ^ /root/JavaX-Caches/tmp_1954928384/main.java:65: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1954928384/main.java:70: error: class, interface, or enum expected print("remove " + i); ^ /root/JavaX-Caches/tmp_1954928384/main.java:71: error: class, interface, or enum expected assertEquals(map.remove(i), refl.remove(i)); ^ /root/JavaX-Caches/tmp_1954928384/main.java:72: error: class, interface, or enum expected assertEqualsVerbose(l(map), l(refl)); ^ /root/JavaX-Caches/tmp_1954928384/main.java:73: error: class, interface, or enum expected rot(); ^ /root/JavaX-Caches/tmp_1954928384/main.java:74: error: class, interface, or enum expected for j over refl: ^ /root/JavaX-Caches/tmp_1954928384/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1954928384/main.java:81: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1954928384/main.java:86: error: class, interface, or enum expected if (--rotCountdown <= 0) { ^ /root/JavaX-Caches/tmp_1954928384/main.java:88: error: class, interface, or enum expected rotationsDone++; ^ /root/JavaX-Caches/tmp_1954928384/main.java:89: error: class, interface, or enum expected } ^ 47 errors