Wrote /root/JavaX-Caches/tmp_291437457/main.java - 1275 bytes (written=1275, should be 1275)
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:/root/.tinybrain/snippet-cache/1400533.jar -d /root/JavaX-Caches/tmp_1880274843 /root/JavaX-Caches/tmp_291437457/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_291437457/main.java:1: error: class, interface, or enum expected
sclass JavaCompilation {
^
/root/JavaX-Caches/tmp_291437457/main.java:3: error: class, interface, or enum expected
L libraries;
^
/root/JavaX-Caches/tmp_291437457/main.java:4: error: class, interface, or enum expected
File classesDir;
^
/root/JavaX-Caches/tmp_291437457/main.java:5: error: class, interface, or enum expected
bool verbose = true;
^
/root/JavaX-Caches/tmp_291437457/main.java:6: error: class, interface, or enum expected
S sourceLevel = "11";
^
/root/JavaX-Caches/tmp_291437457/main.java:7: error: class, interface, or enum expected
S moreOptions = "-warn:none";
^
/root/JavaX-Caches/tmp_291437457/main.java:9: error: class, interface, or enum expected
L sources;
^
/root/JavaX-Caches/tmp_291437457/main.java:10: error: class, interface, or enum expected
File optionsFile;
^
/root/JavaX-Caches/tmp_291437457/main.java:11: error: class, interface, or enum expected
S compilerOutput;
^
/root/JavaX-Caches/tmp_291437457/main.java:13: error: class, interface, or enum expected
swappable void invokeJavaCompiler() {
^
/root/JavaX-Caches/tmp_291437457/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_291437457/main.java:21: error: class, interface, or enum expected
if (sources.isEmpty())
^
/root/JavaX-Caches/tmp_291437457/main.java:26: error: class, interface, or enum expected
optionsFile = File.createTempFile("ecj", "", javaxTempDir());
^
/root/JavaX-Caches/tmp_291437457/main.java:27: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_291437457/main.java:29: error: class, interface, or enum expected
if (verbose) printWithMS("Libraries: " + libraries);
^
/root/JavaX-Caches/tmp_291437457/main.java:31: error: class, interface, or enum expected
S options = unnull(moreOptions) + " -source " + sourceLevel + " -target " + sourceLevel;
^
/root/JavaX-Caches/tmp_291437457/main.java:32: error: class, interface, or enum expected
options += " -d " + pqO(classesDir.getPath());
^
/root/JavaX-Caches/tmp_291437457/main.java:33: error: class, interface, or enum expected
libraries.add(pathToJavaxJar());
^
/root/JavaX-Caches/tmp_291437457/main.java:34: error: class, interface, or enum expected
makeOptionsFileForJavaCompiler(optionsFile, sources, libraries, options);
^
/root/JavaX-Caches/tmp_291437457/main.java:35: error: class, interface, or enum expected
if (verbose) printWithMS("Options: " + loadTextFile(optionsFile));
^
/root/JavaX-Caches/tmp_291437457/main.java:36: error: class, interface, or enum expected
classesDir.mkdirs();
^
/root/JavaX-Caches/tmp_291437457/main.java:37: error: class, interface, or enum expected
time "invokeJavaCompiler" {
^
/root/JavaX-Caches/tmp_291437457/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_291437457/main.java:42: error: class, interface, or enum expected
}
^
24 errors