Wrote /root/JavaX-Caches/tmp_226485212/main.java - 1757 bytes (written=1757, should be 1757) javac=0, ecj=1, useJarBot=0 Checking ECJ at port 4898 at 127.0.0.1 /root/jdk-17/bin/javac -source 1.8 -target 1.8 -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_2000992759 /root/JavaX-Caches/tmp_226485212/main.java 2>&1
[Compilation Error]

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

/root/JavaX-Caches/tmp_226485212/main.java:1: error: class, interface, or enum expected !636 ^ /root/JavaX-Caches/tmp_226485212/main.java:9: error: class, interface, or enum expected main { ^ /root/JavaX-Caches/tmp_226485212/main.java:16: error: class, interface, or enum expected psvm { ^ /root/JavaX-Caches/tmp_226485212/main.java:19: error: class, interface, or enum expected new List<String> actions; ^ /root/JavaX-Caches/tmp_226485212/main.java:20: error: class, interface, or enum expected for (String line : toLines(src)) { ^ /root/JavaX-Caches/tmp_226485212/main.java:22: error: class, interface, or enum expected if (i >= 0) ^ /root/JavaX-Caches/tmp_226485212/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_226485212/main.java:29: error: class, interface, or enum expected predictors.add(new PLast); ^ /root/JavaX-Caches/tmp_226485212/main.java:31: error: class, interface, or enum expected new Collector globalCollector; ^ /root/JavaX-Caches/tmp_226485212/main.java:33: error: class, interface, or enum expected for (int splitPoint = 0; splitPoint < actions.size()-1; splitPoint++) { ^ /root/JavaX-Caches/tmp_226485212/main.java:33: error: class, interface, or enum expected for (int splitPoint = 0; splitPoint < actions.size()-1; splitPoint++) { ^ /root/JavaX-Caches/tmp_226485212/main.java:33: error: class, interface, or enum expected for (int splitPoint = 0; splitPoint < actions.size()-1; splitPoint++) { ^ /root/JavaX-Caches/tmp_226485212/main.java:35: error: class, interface, or enum expected String current = actions.get(splitPoint); ^ /root/JavaX-Caches/tmp_226485212/main.java:37: error: class, interface, or enum expected for (Predict p : predictors) { ^ /root/JavaX-Caches/tmp_226485212/main.java:39: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_226485212/main.java:41: error: class, interface, or enum expected } catch (Throwable e) { ^ /root/JavaX-Caches/tmp_226485212/main.java:47: error: class, interface, or enum expected globalCollector.add(p, prediction, score, splitPoint); } ^ /root/JavaX-Caches/tmp_226485212/main.java:47: error: class, interface, or enum expected globalCollector.add(p, prediction, score, splitPoint); } ^ /root/JavaX-Caches/tmp_226485212/main.java:52: error: illegal start of type new (Hash)Map<Predict, Integer> scores; ^ /root/JavaX-Caches/tmp_226485212/main.java:52: error: <identifier> expected new (Hash)Map<Predict, Integer> scores; ^ /root/JavaX-Caches/tmp_226485212/main.java:61: error: class, interface, or enum expected } ^ 21 errors