Wrote /root/JavaX-Caches/tmp_762109073/main.java - 1000 bytes (written=1000, should be 1000)
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_740430510 /root/JavaX-Caches/tmp_762109073/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_762109073/main.java:1: error: class, interface, or enum expected
sclass Canvas extends ImageSurface {
^
/root/JavaX-Caches/tmp_762109073/main.java:3: error: class, interface, or enum expected
bool updating;
^
/root/JavaX-Caches/tmp_762109073/main.java:5: error: class, interface, or enum expected
*() { zoomable = false; }
^
/root/JavaX-Caches/tmp_762109073/main.java:5: error: class, interface, or enum expected
*() { zoomable = false; }
^
/root/JavaX-Caches/tmp_762109073/main.java:6: error: class, interface, or enum expected
*(O makeImg) { this(); this.makeImg = makeImg; }
^
/root/JavaX-Caches/tmp_762109073/main.java:6: error: class, interface, or enum expected
*(O makeImg) { this(); this.makeImg = makeImg; }
^
/root/JavaX-Caches/tmp_762109073/main.java:8: error: class, interface, or enum expected
void update() { updateCanvas(this, makeImg); }
^
/root/JavaX-Caches/tmp_762109073/main.java:11: error: class, interface, or enum expected
static Canvas jcanvas() { ret jcanvas(null, 0); }
^
/root/JavaX-Caches/tmp_762109073/main.java:16: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_762109073/main.java:18: error: class, interface, or enum expected
static Canvas jcanvas(fO f, final int updateDelay) {
^
/root/JavaX-Caches/tmp_762109073/main.java:20: error: class, interface, or enum expected
final Canvas is = new Canvas(f);
^
/root/JavaX-Caches/tmp_762109073/main.java:21: error: class, interface, or enum expected
is.specialPurposed = true;
^
/root/JavaX-Caches/tmp_762109073/main.java:22: error: class, interface, or enum expected
final Runnable update = new Runnable {
^
/root/JavaX-Caches/tmp_762109073/main.java:24: error: class, interface, or enum expected
public void run {
^
/root/JavaX-Caches/tmp_762109073/main.java:26: error: class, interface, or enum expected
int w = is.getWidth(), h = is.getHeight();
^
/root/JavaX-Caches/tmp_762109073/main.java:27: error: class, interface, or enum expected
if (first || img.getWidth() != w || img.getHeight() != h) {
^
/root/JavaX-Caches/tmp_762109073/main.java:29: error: class, interface, or enum expected
first = false;
^
/root/JavaX-Caches/tmp_762109073/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_762109073/main.java:33: error: class, interface, or enum expected
onResize(is, r { awtLater(is, updateDelay, update) });
^
/root/JavaX-Caches/tmp_762109073/main.java:34: error: class, interface, or enum expected
bindToComponent(is, update); // first update
^
/root/JavaX-Caches/tmp_762109073/main.java:35: error: class, interface, or enum expected
ret is;
^
/root/JavaX-Caches/tmp_762109073/main.java:36: error: class, interface, or enum expected
});
^
/root/JavaX-Caches/tmp_762109073/main.java:37: error: class, interface, or enum expected
}
^
23 errors