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

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

/root/JavaX-Caches/tmp_1608363934/main.java:1: error: class, interface, or enum expected sclass EREvent { ^ /root/JavaX-Caches/tmp_1608363934/main.java:6: error: class, interface, or enum expected S text; ^ /root/JavaX-Caches/tmp_1608363934/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1608363934/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1608363934/main.java:16: error: class, interface, or enum expected *() {} ^ /root/JavaX-Caches/tmp_1608363934/main.java:21: error: class, interface, or enum expected int caret; ^ /root/JavaX-Caches/tmp_1608363934/main.java:24: error: class, interface, or enum expected void update(S newText) { ^ /root/JavaX-Caches/tmp_1608363934/main.java:26: error: class, interface, or enum expected newText = unnull(newText); ^ /root/JavaX-Caches/tmp_1608363934/main.java:27: error: class, interface, or enum expected S a = text, b = newText; ^ /root/JavaX-Caches/tmp_1608363934/main.java:28: error: class, interface, or enum expected int i = lCommonPrefix(a, b); ^ /root/JavaX-Caches/tmp_1608363934/main.java:29: error: class, interface, or enum expected a = substring(a, i); ^ /root/JavaX-Caches/tmp_1608363934/main.java:30: error: class, interface, or enum expected b = substring(b, i); ^ /root/JavaX-Caches/tmp_1608363934/main.java:31: error: class, interface, or enum expected int j = lCommonSuffix(a, b); ^ /root/JavaX-Caches/tmp_1608363934/main.java:32: error: class, interface, or enum expected a = substring(a, 0, l(a)-j); ^ /root/JavaX-Caches/tmp_1608363934/main.java:33: error: class, interface, or enum expected b = substring(b, 0, l(b)-j); ^ /root/JavaX-Caches/tmp_1608363934/main.java:38: error: class, interface, or enum expected if (empty(a) && empty(b)) ret; ^ /root/JavaX-Caches/tmp_1608363934/main.java:40: error: class, interface, or enum expected ERText change = nu(ERText, startIndex := i, endIndex := i+l(a), text := b); ^ /root/JavaX-Caches/tmp_1608363934/main.java:43: error: class, interface, or enum expected assertEquals(newText, replayTextEdit(change, text)); ^ /root/JavaX-Caches/tmp_1608363934/main.java:44: error: class, interface, or enum expected text = newText; ^ /root/JavaX-Caches/tmp_1608363934/main.java:46: error: class, interface, or enum expected onEvent(change); ^ /root/JavaX-Caches/tmp_1608363934/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1608363934/main.java:52: error: class, interface, or enum expected caret = pos; ^ /root/JavaX-Caches/tmp_1608363934/main.java:53: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1608363934/main.java:58: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1608363934/main.java:62: error: class, interface, or enum expected ret substring(text, 0, change.startIndex) ^ /root/JavaX-Caches/tmp_1608363934/main.java:65: error: class, interface, or enum expected } ^ 26 errors