Wrote /root/JavaX-Caches/tmp_1931061675/main.java - 1151 bytes (written=1151, should be 1151)
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/1400546.jar:/root/.tinybrain/snippet-cache/1400547.jar:/root/.tinybrain/snippet-cache/1400548.jar:/root/.tinybrain/snippet-cache/1400555.jar -d /root/JavaX-Caches/tmp_1515659292 /root/JavaX-Caches/tmp_1931061675/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1931061675/main.java:1: error: class, interface, or enum expected
persistable sclass G22ScreenPartsPanel extends G22CRUDAndDetailPanel {
^
/root/JavaX-Caches/tmp_1931061675/main.java:4: error: class, interface, or enum expected
crud.entityName = -> "Screen part";
^
/root/JavaX-Caches/tmp_1931061675/main.java:5: error: class, interface, or enum expected
crud.addButton("Add all screens", rThread addAllScreens);
^
/root/JavaX-Caches/tmp_1931061675/main.java:6: error: class, interface, or enum expected
ret crud;
^
/root/JavaX-Caches/tmp_1931061675/main.java:7: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1931061675/main.java:13: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1931061675/main.java:18: error: class, interface, or enum expected
var full = combinedScreenRect();
^
/root/JavaX-Caches/tmp_1931061675/main.java:19: error: class, interface, or enum expected
var rect = screenPart.bounds;
^
/root/JavaX-Caches/tmp_1931061675/main.java:21: error: class, interface, or enum expected
var scale = min(doubleRatio(maxSize, full.w()), doubleRatio(maxSize, full.h()));
^
/root/JavaX-Caches/tmp_1931061675/main.java:23: error: class, interface, or enum expected
var image = whiteImage(iround(scale*full.w()), iround(scale*full.h()));
^
/root/JavaX-Caches/tmp_1931061675/main.java:25: error: class, interface, or enum expected
if (rect != null) {
^
/root/JavaX-Caches/tmp_1931061675/main.java:27: error: class, interface, or enum expected
fillRect(image, scaled, java.awt.Color.gray);
^
/root/JavaX-Caches/tmp_1931061675/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1931061675/main.java:32: error: class, interface, or enum expected
ret g22utils.stdImageSurface(image);
^
/root/JavaX-Caches/tmp_1931061675/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1931061675/main.java:35: error: class, interface, or enum expected
selfType g22utils(G22Utils g22utils) { super.g22utils(g22utils); this; }
^
/root/JavaX-Caches/tmp_1931061675/main.java:35: error: class, interface, or enum expected
selfType g22utils(G22Utils g22utils) { super.g22utils(g22utils); this; }
^
17 errors