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

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

/root/JavaX-Caches/tmp_645083316/main.java:1: error: class, interface, or enum expected !759 ^ /root/JavaX-Caches/tmp_645083316/main.java:3: error: illegal character: '#' !include #1004027 // WordAdapter ^ /root/JavaX-Caches/tmp_645083316/main.java:7: error: class, interface, or enum expected print("Result: " + bla()); ^ /root/JavaX-Caches/tmp_645083316/main.java:8: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_645083316/main.java:12: error: class, interface, or enum expected static S bla() { ^ /root/JavaX-Caches/tmp_645083316/main.java:14: error: class, interface, or enum expected S bestResult = null; ^ /root/JavaX-Caches/tmp_645083316/main.java:15: error: class, interface, or enum expected double bestValue = 0; ^ /root/JavaX-Caches/tmp_645083316/main.java:16: error: class, interface, or enum expected thislearn: for (L<S> learn : gLearns()) { ^ /root/JavaX-Caches/tmp_645083316/main.java:20: error: class, interface, or enum expected j: for (int j = l(log)-l(learn)+1; j < l(log); j++) pcall { ^ /root/JavaX-Caches/tmp_645083316/main.java:20: error: class, interface, or enum expected j: for (int j = l(log)-l(learn)+1; j < l(log); j++) pcall { ^ /root/JavaX-Caches/tmp_645083316/main.java:20: error: class, interface, or enum expected j: for (int j = l(log)-l(learn)+1; j < l(log); j++) pcall { ^ /root/JavaX-Caches/tmp_645083316/main.java:22: error: class, interface, or enum expected Adapter adapter = new WordAdapter; ^ /root/JavaX-Caches/tmp_645083316/main.java:23: error: class, interface, or enum expected int k; ^ /root/JavaX-Caches/tmp_645083316/main.java:24: error: class, interface, or enum expected for (k = j; k < l(log); k++) { ^ /root/JavaX-Caches/tmp_645083316/main.java:24: error: class, interface, or enum expected for (k = j; k < l(log); k++) { ^ /root/JavaX-Caches/tmp_645083316/main.java:24: error: class, interface, or enum expected for (k = j; k < l(log); k++) { ^ /root/JavaX-Caches/tmp_645083316/main.java:26: error: class, interface, or enum expected if (adapt_debug) print(in + " => " + out); ^ /root/JavaX-Caches/tmp_645083316/main.java:27: error: class, interface, or enum expected if (!adapter.canMatch(in, out)) { ^ /root/JavaX-Caches/tmp_645083316/main.java:29: error: class, interface, or enum expected continue j; ^ /root/JavaX-Caches/tmp_645083316/main.java:30: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_645083316/main.java:32: error: class, interface, or enum expected if (adapt_debug) printStructure(" ", adapter); ^ /root/JavaX-Caches/tmp_645083316/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_645083316/main.java:35: error: class, interface, or enum expected if (bestResult == null || v < bestValue) { ^ /root/JavaX-Caches/tmp_645083316/main.java:37: error: class, interface, or enum expected bestValue = v; ^ /root/JavaX-Caches/tmp_645083316/main.java:38: error: class, interface, or enum expected if (adapt_debug) print("New best: " + formatDouble(bestValue, 1) + " -- " + bestResult); ^ /root/JavaX-Caches/tmp_645083316/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_645083316/main.java:43: error: class, interface, or enum expected } ^ 27 errors