Wrote /root/JavaX-Caches/tmp_1854211195/main.java - 1844 bytes (written=1844, should be 1844)
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_220167754 /root/JavaX-Caches/tmp_1854211195/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1854211195/main.java:5: error: class, interface, or enum expected
static Class> hotwire(String src) {
^
/root/JavaX-Caches/tmp_1854211195/main.java:9: error: class, interface, or enum expected
synchronized(j) { // hopefully this goes well...
^
/root/JavaX-Caches/tmp_1854211195/main.java:11: error: class, interface, or enum expected
File srcDir = (File) call(j, "transpileMain", src, libraries);
^
/root/JavaX-Caches/tmp_1854211195/main.java:12: error: class, interface, or enum expected
if (srcDir == null)
^
/root/JavaX-Caches/tmp_1854211195/main.java:15: error: class, interface, or enum expected
Object androidContext = get(j, "androidContext");
^
/root/JavaX-Caches/tmp_1854211195/main.java:16: error: class, interface, or enum expected
if (androidContext != null)
^
/root/JavaX-Caches/tmp_1854211195/main.java:19: error: class, interface, or enum expected
File classesDir = (File) call(j, "TempDirMaker_make");
^
/root/JavaX-Caches/tmp_1854211195/main.java:20: error: class, interface, or enum expected
String javacOutput = (String) call(j, "compileJava", srcDir, libraries, classesDir);
^
/root/JavaX-Caches/tmp_1854211195/main.java:21: error: class, interface, or enum expected
System.out.println(javacOutput);
^
/root/JavaX-Caches/tmp_1854211195/main.java:23: error: class, interface, or enum expected
URL[] urls = new URL[libraries.size()+1];
^
/root/JavaX-Caches/tmp_1854211195/main.java:24: error: class, interface, or enum expected
urls[0] = classesDir.toURI().toURL();
^
/root/JavaX-Caches/tmp_1854211195/main.java:25: error: class, interface, or enum expected
for (int i = 0; i < libraries.size(); i++)
^
/root/JavaX-Caches/tmp_1854211195/main.java:25: error: class, interface, or enum expected
for (int i = 0; i < libraries.size(); i++)
^
/root/JavaX-Caches/tmp_1854211195/main.java:25: error: class, interface, or enum expected
for (int i = 0; i < libraries.size(); i++)
^
/root/JavaX-Caches/tmp_1854211195/main.java:29: error: class, interface, or enum expected
URLClassLoader classLoader = new URLClassLoader(urls);
^
/root/JavaX-Caches/tmp_1854211195/main.java:32: error: class, interface, or enum expected
Class> theClass = classLoader.loadClass("main");
^
/root/JavaX-Caches/tmp_1854211195/main.java:34: error: class, interface, or enum expected
callOpt(j, "registerSourceCode", theClass, loadTextFile(new File(srcDir, "main.java")));
^
/root/JavaX-Caches/tmp_1854211195/main.java:36: error: class, interface, or enum expected
call(j, "setVars", theClass, isSnippetID(src) ? src : null);
^
/root/JavaX-Caches/tmp_1854211195/main.java:38: error: class, interface, or enum expected
if (isSnippetID(src))
^
/root/JavaX-Caches/tmp_1854211195/main.java:41: error: class, interface, or enum expected
if (!_inCore())
^
/root/JavaX-Caches/tmp_1854211195/main.java:44: error: class, interface, or enum expected
return theClass;
^
/root/JavaX-Caches/tmp_1854211195/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1854211195/main.java:48: error: class, interface, or enum expected
}
^
23 errors