Wrote /root/JavaX-Caches/tmp_217481920/main.java - 2538 bytes (written=2538, should be 2538)
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_1299271455 /root/JavaX-Caches/tmp_217481920/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_217481920/main.java:1: error: class, interface, or enum expected
srecord noeq G22RegionThinner_v2(IImageRegion originalRegion) is Steppable {
^
/root/JavaX-Caches/tmp_217481920/main.java:3: error: class, interface, or enum expected
IImageRegion region;
^
/root/JavaX-Caches/tmp_217481920/main.java:9: error: class, interface, or enum expected
byte[] pixels;
^
/root/JavaX-Caches/tmp_217481920/main.java:11: error: class, interface, or enum expected
int idx(int x, int y) {
^
/root/JavaX-Caches/tmp_217481920/main.java:13: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:14: error: class, interface, or enum expected
int idx(Pt p) { ret idx(p.x, p.y); }
^
/root/JavaX-Caches/tmp_217481920/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:22: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:26: error: class, interface, or enum expected
bounds = originalRegion.bounds();
^
/root/JavaX-Caches/tmp_217481920/main.java:27: error: class, interface, or enum expected
pixels = new byte[area(bounds)];
^
/root/JavaX-Caches/tmp_217481920/main.java:28: error: class, interface, or enum expected
for (Pt p : originalRegion.pixelIterator())
^
/root/JavaX-Caches/tmp_217481920/main.java:31: error: class, interface, or enum expected
region = new ThinnedRegion;
^
/root/JavaX-Caches/tmp_217481920/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:34: error: '{' expected
class ThinnedRegion is IImageRegion {
^
/root/JavaX-Caches/tmp_217481920/main.java:34: error: class, interface, or enum expected
class ThinnedRegion is IImageRegion {
^
/root/JavaX-Caches/tmp_217481920/main.java:35: error: class, interface, or enum expected
public Img image() { ret originalRegion.image(); }
^
/root/JavaX-Caches/tmp_217481920/main.java:35: error: class, interface, or enum expected
public Img image() { ret originalRegion.image(); }
^
/root/JavaX-Caches/tmp_217481920/main.java:36: error: class, interface, or enum expected
public Rect bounds() { ret bounds; }
^
/root/JavaX-Caches/tmp_217481920/main.java:36: error: class, interface, or enum expected
public Rect bounds() { ret bounds; }
^
/root/JavaX-Caches/tmp_217481920/main.java:38: error: class, interface, or enum expected
public bool contains(int x, int y) {
^
/root/JavaX-Caches/tmp_217481920/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:42: error: class, interface, or enum expected
public ItIt pixelIterator() {
^
/root/JavaX-Caches/tmp_217481920/main.java:46: error: class, interface, or enum expected
public Pt get() {
^
/root/JavaX-Caches/tmp_217481920/main.java:47: error: class, interface, or enum expected
for (; idx < pixels.length; idx++)
^
/root/JavaX-Caches/tmp_217481920/main.java:47: error: class, interface, or enum expected
for (; idx < pixels.length; idx++)
^
/root/JavaX-Caches/tmp_217481920/main.java:50: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_217481920/main.java:51: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:53: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:56: error: class, interface, or enum expected
public bool step() {
^
/root/JavaX-Caches/tmp_217481920/main.java:59: error: class, interface, or enum expected
L traces = g22_allBorderTraces_withDiagonals(region);
^
/root/JavaX-Caches/tmp_217481920/main.java:60: error: class, interface, or enum expected
for (points : traces)
^
/root/JavaX-Caches/tmp_217481920/main.java:64: error: class, interface, or enum expected
new PtBuffer toDelete;
^
/root/JavaX-Caches/tmp_217481920/main.java:66: error: class, interface, or enum expected
for (points : traces)
^
/root/JavaX-Caches/tmp_217481920/main.java:70: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:75: error: class, interface, or enum expected
ret nempty(toDelete);
^
/root/JavaX-Caches/tmp_217481920/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:80: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_217481920/main.java:80: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_217481920/main.java:80: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_217481920/main.java:82: error: class, interface, or enum expected
byte value = getPixel(p2);
^
/root/JavaX-Caches/tmp_217481920/main.java:83: error: class, interface, or enum expected
if (value == 2)
^
/root/JavaX-Caches/tmp_217481920/main.java:85: error: class, interface, or enum expected
else if (value == 1)
^
/root/JavaX-Caches/tmp_217481920/main.java:87: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:91: error: class, interface, or enum expected
printVars ifdef G22RegionThinner_debug(+p, +surroundingInnerPixels, +surroundingBorderPixels, +deletable);
^
/root/JavaX-Caches/tmp_217481920/main.java:92: error: class, interface, or enum expected
ret deletable;
^
/root/JavaX-Caches/tmp_217481920/main.java:93: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_217481920/main.java:95: error: class, interface, or enum expected
IImageRegion region aka get() { ret or(region, originalRegion); }
^
47 errors