Wrote /root/JavaX-Caches/tmp_569490809/main.java - 4165 bytes (written=4165, should be 4165)
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_1424534449 /root/JavaX-Caches/tmp_569490809/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_569490809/main.java:2: error: class, interface, or enum expected
sbool javaCompileToJar_useRAMDisk;
^
/root/JavaX-Caches/tmp_569490809/main.java:4: error: class, interface, or enum expected
static new ThreadLocal> javaCompileToJar_localLibraries;
^
/root/JavaX-Caches/tmp_569490809/main.java:5: error: class, interface, or enum expected
static new ThreadLocal> javaCompileToJar_addMoreFiles;
^
/root/JavaX-Caches/tmp_569490809/main.java:7: error: class, interface, or enum expected
static File javaCompileToJar_optionalRename(S src, File destJar, S progIDForRename) {
^
/root/JavaX-Caches/tmp_569490809/main.java:9: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:13: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:20: error: class, interface, or enum expected
S dummyClass = "main";
^
/root/JavaX-Caches/tmp_569490809/main.java:21: error: class, interface, or enum expected
if (progIDForRename != null) {
^
/root/JavaX-Caches/tmp_569490809/main.java:23: error: class, interface, or enum expected
src += "\nclass " + dummyClass + "{}";
^
/root/JavaX-Caches/tmp_569490809/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:26: error: class, interface, or enum expected
File jar = destJar;
^
/root/JavaX-Caches/tmp_569490809/main.java:28: error: class, interface, or enum expected
Class j = getJavaX();
^
/root/JavaX-Caches/tmp_569490809/main.java:29: error: class, interface, or enum expected
if (javaTarget != null)
^
/root/JavaX-Caches/tmp_569490809/main.java:32: error: class, interface, or enum expected
File srcDir = tempDir();
^
/root/JavaX-Caches/tmp_569490809/main.java:33: error: class, interface, or enum expected
S fileName = dummyClass + ".java";
^
/root/JavaX-Caches/tmp_569490809/main.java:36: error: class, interface, or enum expected
LS tok = javaTok(src);
^
/root/JavaX-Caches/tmp_569490809/main.java:37: error: class, interface, or enum expected
S packageName = tok_packageName(tok);
^
/root/JavaX-Caches/tmp_569490809/main.java:38: error: class, interface, or enum expected
if (packageName != null)
^
/root/JavaX-Caches/tmp_569490809/main.java:40: error: class, interface, or enum expected
File mainJava = new File(srcDir, fileName);
^
/root/JavaX-Caches/tmp_569490809/main.java:43: error: class, interface, or enum expected
saveTextFile(mainJava, src);
^
/root/JavaX-Caches/tmp_569490809/main.java:44: error: class, interface, or enum expected
File classesDir = javaCompileToJar_useRAMDisk ? tempDirPossiblyInRAMDisk() : tempDir();
^
/root/JavaX-Caches/tmp_569490809/main.java:46: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_569490809/main.java:49: error: class, interface, or enum expected
Matcher m = Pattern.compile("\\d+").matcher(dehlibs);
^
/root/JavaX-Caches/tmp_569490809/main.java:50: error: class, interface, or enum expected
while (m.find()) {
^
/root/JavaX-Caches/tmp_569490809/main.java:53: error: class, interface, or enum expected
assertTrue(isSnippetID(libID));
^
/root/JavaX-Caches/tmp_569490809/main.java:55: error: class, interface, or enum expected
libraries.add(loadLibraryOrSrcLib(libID));
^
/root/JavaX-Caches/tmp_569490809/main.java:56: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:60: error: class, interface, or enum expected
S compilerOutput;
^
/root/JavaX-Caches/tmp_569490809/main.java:61: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_569490809/main.java:63: error: class, interface, or enum expected
} catch (Throwable e) {
^
/root/JavaX-Caches/tmp_569490809/main.java:68: error: class, interface, or enum expected
if (!swic(e.getMessage(), "Java compiler returned errors."))
^
/root/JavaX-Caches/tmp_569490809/main.java:71: error: class, interface, or enum expected
fail(compilerOutput, e);
^
/root/JavaX-Caches/tmp_569490809/main.java:72: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:76: error: class, interface, or enum expected
if (nempty(compilerOutput)) {
^
/root/JavaX-Caches/tmp_569490809/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:84: error: class, interface, or enum expected
fail("No classes generated (was compiling " + nChars(src) + ")");
^
/root/JavaX-Caches/tmp_569490809/main.java:85: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_569490809/main.java:91: error: class, interface, or enum expected
if (nempty(dehlibs))
^
/root/JavaX-Caches/tmp_569490809/main.java:95: error: class, interface, or enum expected
saveTextFile(new File(classesDir, "progID"), progID);
^
/root/JavaX-Caches/tmp_569490809/main.java:100: error: class, interface, or enum expected
callF(javaCompileToJar_addMoreFiles!, classesDir);
^
/root/JavaX-Caches/tmp_569490809/main.java:103: error: class, interface, or enum expected
dir2zip_recurse_verbose = false;
^
/root/JavaX-Caches/tmp_569490809/main.java:104: error: class, interface, or enum expected
int n = dir2zip_recurse(classesDir, jar); // cache on success only
^
/root/JavaX-Caches/tmp_569490809/main.java:107: error: class, interface, or enum expected
ret jar;
^
/root/JavaX-Caches/tmp_569490809/main.java:108: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_569490809/main.java:110: error: class, interface, or enum expected
}
^
45 errors