Wrote /root/JavaX-Caches/tmp_1814257419/main.java - 1320 bytes (written=1320, should be 1320)
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_649273965 /root/JavaX-Caches/tmp_1814257419/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1814257419/main.java:1: error: class, interface, or enum expected
srecord noeq FindRegionOutline(BWImage_FastRegions regions, int iRegion) {
^
/root/JavaX-Caches/tmp_1814257419/main.java:3: error: class, interface, or enum expected
int x, y, dx, dy;
^
/root/JavaX-Caches/tmp_1814257419/main.java:4: error: class, interface, or enum expected
int polarity;
^
/root/JavaX-Caches/tmp_1814257419/main.java:6: error: class, interface, or enum expected
run {
^
/root/JavaX-Caches/tmp_1814257419/main.java:8: error: class, interface, or enum expected
x = p.x;
^
/root/JavaX-Caches/tmp_1814257419/main.java:9: error: class, interface, or enum expected
y = p.y;
^
/root/JavaX-Caches/tmp_1814257419/main.java:14: error: class, interface, or enum expected
while (y > 0 && regions.inRegion(iRegion, x, y-1))
^
/root/JavaX-Caches/tmp_1814257419/main.java:18: error: class, interface, or enum expected
outline.add(x, y);
^
/root/JavaX-Caches/tmp_1814257419/main.java:21: error: class, interface, or enum expected
firstX = x; firstY = y;
^
/root/JavaX-Caches/tmp_1814257419/main.java:21: error: class, interface, or enum expected
firstX = x; firstY = y;
^
/root/JavaX-Caches/tmp_1814257419/main.java:24: error: class, interface, or enum expected
dx = 1; dy = 0;
^
/root/JavaX-Caches/tmp_1814257419/main.java:24: error: class, interface, or enum expected
dx = 1; dy = 0;
^
/root/JavaX-Caches/tmp_1814257419/main.java:25: error: class, interface, or enum expected
int safety = (regions.getWidth()+2)*(regions.getHeight()+2);
^
/root/JavaX-Caches/tmp_1814257419/main.java:26: error: class, interface, or enum expected
do {
^
/root/JavaX-Caches/tmp_1814257419/main.java:29: error: class, interface, or enum expected
} while (x != firstX && y != firstY && l(outline) < safety);
^
/root/JavaX-Caches/tmp_1814257419/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1814257419/main.java:36: error: class, interface, or enum expected
repeat 4 {
^
/root/JavaX-Caches/tmp_1814257419/main.java:38: error: class, interface, or enum expected
dx = dir.x; dy = dir.y;
^
/root/JavaX-Caches/tmp_1814257419/main.java:39: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_1814257419/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1814257419/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1814257419/main.java:48: error: class, interface, or enum expected
if (inRegion(x+left.x, y+left.y)) {
^
/root/JavaX-Caches/tmp_1814257419/main.java:50: error: class, interface, or enum expected
dy = left.y;
^
/root/JavaX-Caches/tmp_1814257419/main.java:51: error: class, interface, or enum expected
}
^
24 errors