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

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

/root/JavaX-Caches/tmp_431700680/main.java:1: error: class, interface, or enum expected sclass GenTesting { ^ /root/JavaX-Caches/tmp_431700680/main.java:5: error: class, interface, or enum expected S comparison = "eqic"; ^ /root/JavaX-Caches/tmp_431700680/main.java:7: error: class, interface, or enum expected *(O *makeGenerators) {} ^ /root/JavaX-Caches/tmp_431700680/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:15: error: class, interface, or enum expected for (int i = 0; i < l(log); i++) ^ /root/JavaX-Caches/tmp_431700680/main.java:15: error: class, interface, or enum expected for (int i = 0; i < l(log); i++) ^ /root/JavaX-Caches/tmp_431700680/main.java:15: error: class, interface, or enum expected for (int i = 0; i < l(log); i++) ^ /root/JavaX-Caches/tmp_431700680/main.java:18: error: class, interface, or enum expected print(/*asciiHeading2("SCORES")*/); ^ /root/JavaX-Caches/tmp_431700680/main.java:19: error: class, interface, or enum expected for (S name : scores.getTopTen()) ^ /root/JavaX-Caches/tmp_431700680/main.java:21: error: class, interface, or enum expected print(); ^ /root/JavaX-Caches/tmp_431700680/main.java:22: error: class, interface, or enum expected ret scores; ^ /root/JavaX-Caches/tmp_431700680/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:27: error: class, interface, or enum expected S line = last(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:28: error: class, interface, or enum expected log = dropLast(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:30: error: class, interface, or enum expected genLog_set(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:31: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:34: error: class, interface, or enum expected for (Gen gen : gens) { ^ /root/JavaX-Caches/tmp_431700680/main.java:38: error: class, interface, or enum expected } catch {} ^ /root/JavaX-Caches/tmp_431700680/main.java:42: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:47: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:49: error: class, interface, or enum expected Gen gen = findByField(gens, "name", genName); ^ /root/JavaX-Caches/tmp_431700680/main.java:50: error: class, interface, or enum expected if (gen == null) null; ^ /root/JavaX-Caches/tmp_431700680/main.java:51: error: class, interface, or enum expected ret callGen(gen); ^ /root/JavaX-Caches/tmp_431700680/main.java:52: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_431700680/main.java:54: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:59: error: class, interface, or enum expected S line = last(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:60: error: class, interface, or enum expected log = dropLast(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:62: error: class, interface, or enum expected genLog_set(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:63: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:65: error: class, interface, or enum expected Gen gen = findByField(gens, "name", genName); ^ /root/JavaX-Caches/tmp_431700680/main.java:66: error: class, interface, or enum expected if (gen == null) false; ^ /root/JavaX-Caches/tmp_431700680/main.java:68: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:71: error: class, interface, or enum expected } catch {} ^ /root/JavaX-Caches/tmp_431700680/main.java:74: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_431700680/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:81: error: class, interface, or enum expected callF(makeGenerators, gens, log); ^ /root/JavaX-Caches/tmp_431700680/main.java:82: error: class, interface, or enum expected ret gens; ^ /root/JavaX-Caches/tmp_431700680/main.java:83: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:88: error: class, interface, or enum expected for (int i = 1; i < l(log); i++) { ^ /root/JavaX-Caches/tmp_431700680/main.java:88: error: class, interface, or enum expected for (int i = 1; i < l(log); i++) { ^ /root/JavaX-Caches/tmp_431700680/main.java:88: error: class, interface, or enum expected for (int i = 1; i < l(log); i++) { ^ /root/JavaX-Caches/tmp_431700680/main.java:90: error: class, interface, or enum expected bool ok = false; ^ /root/JavaX-Caches/tmp_431700680/main.java:91: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:93: error: class, interface, or enum expected ok = compare(s, expect); ^ /root/JavaX-Caches/tmp_431700680/main.java:94: error: class, interface, or enum expected } catch e { ^ /root/JavaX-Caches/tmp_431700680/main.java:96: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:99: error: class, interface, or enum expected print(genName + " OK: " + s + (eq(s, expect) ? "" : " / " + expect)); ^ /root/JavaX-Caches/tmp_431700680/main.java:100: error: class, interface, or enum expected } else ^ /root/JavaX-Caches/tmp_431700680/main.java:102: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:104: error: class, interface, or enum expected ret score; ^ /root/JavaX-Caches/tmp_431700680/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:110: error: class, interface, or enum expected else if (eq(comparison, "eqic")) ^ /root/JavaX-Caches/tmp_431700680/main.java:112: error: class, interface, or enum expected else if (eq(comparison, "match")) ^ /root/JavaX-Caches/tmp_431700680/main.java:114: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_431700680/main.java:116: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:120: error: class, interface, or enum expected for (int i = 0; i < l(log); i++) ^ /root/JavaX-Caches/tmp_431700680/main.java:120: error: class, interface, or enum expected for (int i = 0; i < l(log); i++) ^ /root/JavaX-Caches/tmp_431700680/main.java:122: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_431700680/main.java:126: error: class, interface, or enum expected log = dropLast(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:128: error: class, interface, or enum expected genLog_set(log); ^ /root/JavaX-Caches/tmp_431700680/main.java:129: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:131: error: class, interface, or enum expected Gen gen = findByField(gens, "name", genName); ^ /root/JavaX-Caches/tmp_431700680/main.java:132: error: class, interface, or enum expected if (gen == null) ret; ^ /root/JavaX-Caches/tmp_431700680/main.java:134: error: class, interface, or enum expected bool ok = false; ^ /root/JavaX-Caches/tmp_431700680/main.java:135: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_431700680/main.java:137: error: class, interface, or enum expected } catch {} ^ /root/JavaX-Caches/tmp_431700680/main.java:140: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_431700680/main.java:142: error: class, interface, or enum expected } ^ 68 errors