Wrote /root/JavaX-Caches/tmp_1590210289/main.java - 7495 bytes (written=7495, should be 7495)
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_1123725118 /root/JavaX-Caches/tmp_1590210289/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1590210289/main.java:1: error: class, interface, or enum expected
srecord noeq G22RegionThinner_v2(IImageRegion originalRegion) is Steppable {
^
/root/JavaX-Caches/tmp_1590210289/main.java:3: error: class, interface, or enum expected
IImageRegion region;
^
/root/JavaX-Caches/tmp_1590210289/main.java:4: error: class, interface, or enum expected
bool phase1done;
^
/root/JavaX-Caches/tmp_1590210289/main.java:6: error: class, interface, or enum expected
settable bool debug;
^
/root/JavaX-Caches/tmp_1590210289/main.java:7: error: class, interface, or enum expected
settable bool doFinalStep = true;
^
/root/JavaX-Caches/tmp_1590210289/main.java:8: error: class, interface, or enum expected
settable int lastPhaseThreshold1 = 2;
^
/root/JavaX-Caches/tmp_1590210289/main.java:9: error: class, interface, or enum expected
settable int lastPhaseThreshold = 5;
^
/root/JavaX-Caches/tmp_1590210289/main.java:11: error: class, interface, or enum expected
settable byte[] lookupTable;
^
/root/JavaX-Caches/tmp_1590210289/main.java:17: error: class, interface, or enum expected
byte[] pixels;
^
/root/JavaX-Caches/tmp_1590210289/main.java:19: error: class, interface, or enum expected
int idx(int x, int y) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:21: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:22: error: class, interface, or enum expected
int idx(Pt p) { ret idx(p.x, p.y); }
^
/root/JavaX-Caches/tmp_1590210289/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:46: error: class, interface, or enum expected
pixels[idx(x, y)] = 0;
^
/root/JavaX-Caches/tmp_1590210289/main.java:47: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_1590210289/main.java:48: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:52: error: class, interface, or enum expected
bounds = originalRegion.bounds();
^
/root/JavaX-Caches/tmp_1590210289/main.java:53: error: class, interface, or enum expected
pixels = new byte[area(bounds)];
^
/root/JavaX-Caches/tmp_1590210289/main.java:54: error: class, interface, or enum expected
for (Pt p : originalRegion.pixelIterator())
^
/root/JavaX-Caches/tmp_1590210289/main.java:57: error: class, interface, or enum expected
region = new ThinnedRegion;
^
/root/JavaX-Caches/tmp_1590210289/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:60: error: '{' expected
class ThinnedRegion is IImageRegion {
^
/root/JavaX-Caches/tmp_1590210289/main.java:60: error: class, interface, or enum expected
class ThinnedRegion is IImageRegion {
^
/root/JavaX-Caches/tmp_1590210289/main.java:61: error: class, interface, or enum expected
public Img image() { ret originalRegion.image(); }
^
/root/JavaX-Caches/tmp_1590210289/main.java:61: error: class, interface, or enum expected
public Img image() { ret originalRegion.image(); }
^
/root/JavaX-Caches/tmp_1590210289/main.java:62: error: class, interface, or enum expected
public Rect bounds() { ret bounds; }
^
/root/JavaX-Caches/tmp_1590210289/main.java:62: error: class, interface, or enum expected
public Rect bounds() { ret bounds; }
^
/root/JavaX-Caches/tmp_1590210289/main.java:64: error: class, interface, or enum expected
public bool contains(int x, int y) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:68: error: class, interface, or enum expected
public ItIt pixelIterator() {
^
/root/JavaX-Caches/tmp_1590210289/main.java:72: error: class, interface, or enum expected
public Pt get() {
^
/root/JavaX-Caches/tmp_1590210289/main.java:73: error: class, interface, or enum expected
for (; idx < pixels.length; idx++)
^
/root/JavaX-Caches/tmp_1590210289/main.java:73: error: class, interface, or enum expected
for (; idx < pixels.length; idx++)
^
/root/JavaX-Caches/tmp_1590210289/main.java:76: error: class, interface, or enum expected
null;
^
/root/JavaX-Caches/tmp_1590210289/main.java:77: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:82: error: class, interface, or enum expected
public bool step() {
^
/root/JavaX-Caches/tmp_1590210289/main.java:85: error: class, interface, or enum expected
if (phase1done)
^
/root/JavaX-Caches/tmp_1590210289/main.java:88: error: class, interface, or enum expected
L traces = g22_allBorderTraces_withDiagonals(region);
^
/root/JavaX-Caches/tmp_1590210289/main.java:89: error: class, interface, or enum expected
for (points : traces)
^
/root/JavaX-Caches/tmp_1590210289/main.java:93: error: class, interface, or enum expected
new PtBuffer toDelete;
^
/root/JavaX-Caches/tmp_1590210289/main.java:95: error: class, interface, or enum expected
for (points : traces) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:97: error: class, interface, or enum expected
BitSet deletable = emptyBitSet(nPoints);
^
/root/JavaX-Caches/tmp_1590210289/main.java:98: error: class, interface, or enum expected
for i to nPoints: {
^
/root/JavaX-Caches/tmp_1590210289/main.java:103: error: class, interface, or enum expected
if (del)
^
/root/JavaX-Caches/tmp_1590210289/main.java:105: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:113: error: class, interface, or enum expected
Pt prev = ptMinus(cyclicGet(points, i-1), p);
^
/root/JavaX-Caches/tmp_1590210289/main.java:114: error: class, interface, or enum expected
Pt next = ptMinus(cyclicGet(points, i+1), p);
^
/root/JavaX-Caches/tmp_1590210289/main.java:115: error: class, interface, or enum expected
int dir1 = onePathLookupDirection(prev);
^
/root/JavaX-Caches/tmp_1590210289/main.java:116: error: class, interface, or enum expected
int dir2 = onePathLookupDirection(next);
^
/root/JavaX-Caches/tmp_1590210289/main.java:117: error: class, interface, or enum expected
int diff = mod(dir2-dir1, 8);
^
/root/JavaX-Caches/tmp_1590210289/main.java:118: error: class, interface, or enum expected
if (debug) printVars("special case", +p, +prev, +next, +dir1, +dir2, +diff);
^
/root/JavaX-Caches/tmp_1590210289/main.java:119: error: class, interface, or enum expected
if (diff == 1 || diff == 7)
^
/root/JavaX-Caches/tmp_1590210289/main.java:121: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:126: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:131: error: class, interface, or enum expected
if (empty(toDelete))
^
/root/JavaX-Caches/tmp_1590210289/main.java:133: error: class, interface, or enum expected
true;
^
/root/JavaX-Caches/tmp_1590210289/main.java:134: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:139: error: class, interface, or enum expected
long p_long = pointsBuf.get(i);
^
/root/JavaX-Caches/tmp_1590210289/main.java:143: error: class, interface, or enum expected
if (p_long == cyclicGet(pointsBuf, i-2)
^
/root/JavaX-Caches/tmp_1590210289/main.java:146: error: class, interface, or enum expected
false;
^
/root/JavaX-Caches/tmp_1590210289/main.java:147: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:150: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:150: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:150: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:152: error: class, interface, or enum expected
byte value = getPixel(p2_long);
^
/root/JavaX-Caches/tmp_1590210289/main.java:153: error: class, interface, or enum expected
if (value == 2 && !rangeContains(pointsBuf, i, p2_long)) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:156: error: class, interface, or enum expected
false;
^
/root/JavaX-Caches/tmp_1590210289/main.java:157: error: class, interface, or enum expected
} else if (value == 1) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:159: error: class, interface, or enum expected
surroundingInnerPixels++;
^
/root/JavaX-Caches/tmp_1590210289/main.java:160: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:168: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:171: error: class, interface, or enum expected
for (int j = i-3; j <= i+3; j++)
^
/root/JavaX-Caches/tmp_1590210289/main.java:171: error: class, interface, or enum expected
for (int j = i-3; j <= i+3; j++)
^
/root/JavaX-Caches/tmp_1590210289/main.java:174: error: class, interface, or enum expected
false;
^
/root/JavaX-Caches/tmp_1590210289/main.java:175: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:179: error: class, interface, or enum expected
Pt p = points.get(i);
^
/root/JavaX-Caches/tmp_1590210289/main.java:182: error: class, interface, or enum expected
if (eq(range.get(1), p) || eq(range.get(5), p)) false;
^
/root/JavaX-Caches/tmp_1590210289/main.java:184: error: class, interface, or enum expected
int surroundingBorderPixels = 0, surroundingInnerPixels = 0;
^
/root/JavaX-Caches/tmp_1590210289/main.java:185: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:185: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:185: error: class, interface, or enum expected
for (int dir = 1; dir <= 8; dir++) {
^
/root/JavaX-Caches/tmp_1590210289/main.java:187: error: class, interface, or enum expected
byte value = getPixel(p2);
^
/root/JavaX-Caches/tmp_1590210289/main.java:188: error: class, interface, or enum expected
if (value == 2 && !range.contains(p2))
^
/root/JavaX-Caches/tmp_1590210289/main.java:190: error: class, interface, or enum expected
else if (value == 1)
^
/root/JavaX-Caches/tmp_1590210289/main.java:192: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:196: error: class, interface, or enum expected
printVars ifdef G22RegionThinner_debug(+p, +surroundingInnerPixels, +surroundingBorderPixels, +deletable, +range);
^
/root/JavaX-Caches/tmp_1590210289/main.java:197: error: class, interface, or enum expected
ret deletable;
^
/root/JavaX-Caches/tmp_1590210289/main.java:198: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1590210289/main.java:200: error: class, interface, or enum expected
IImageRegion region aka get() { ret or(region, originalRegion); }
^
/root/JavaX-Caches/tmp_1590210289/main.java:206: error: class, interface, or enum expected
if (lookupTable == null)
^
/root/JavaX-Caches/tmp_1590210289/main.java:211: error: class, interface, or enum expected
bool change;
^
/root/JavaX-Caches/tmp_1590210289/main.java:212: error: class, interface, or enum expected
int x1 = bounds.x, x2 = bounds.x2();
^
/root/JavaX-Caches/tmp_1590210289/main.java:213: error: class, interface, or enum expected
int y1 = bounds.y, y2 = bounds.y2();
^
/root/JavaX-Caches/tmp_1590210289/main.java:214: error: class, interface, or enum expected
printVars ifdef G22RegionThinner_lastPhase_debug("finalStep", +x1, +y1, +x2, +y2);
^
/root/JavaX-Caches/tmp_1590210289/main.java:216: error: class, interface, or enum expected
var pingSource = pingSource();
^
100 errors
only showing the first 100 errors, of 112 total; use -Xmaxerrs if you would like to see more