Wrote /root/JavaX-Caches/tmp_1363868686/main.java - 3741 bytes (written=3741, should be 3741) 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_1744743139 /root/JavaX-Caches/tmp_1363868686/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_1363868686/main.java:6: error: class, interface, or enum expected srecord noeq RegionBorder_innerPoints_v2(IImageRegion region) extends AbstractSteppable { ^ /root/JavaX-Caches/tmp_1363868686/main.java:8: error: class, interface, or enum expected event foundPoint(Pt p); ^ /root/JavaX-Caches/tmp_1363868686/main.java:9: error: class, interface, or enum expected event traceDone; ^ /root/JavaX-Caches/tmp_1363868686/main.java:11: error: class, interface, or enum expected settable bool includeHoles = true; ^ /root/JavaX-Caches/tmp_1363868686/main.java:13: error: class, interface, or enum expected int w, x, y, dir; ^ /root/JavaX-Caches/tmp_1363868686/main.java:14: error: class, interface, or enum expected Iterator<Pt> it; ^ /root/JavaX-Caches/tmp_1363868686/main.java:15: error: class, interface, or enum expected byte[] reachedInDirections; // bits 0 to 3 ^ /root/JavaX-Caches/tmp_1363868686/main.java:16: error: class, interface, or enum expected bool tracing; ^ /root/JavaX-Caches/tmp_1363868686/main.java:17: error: class, interface, or enum expected int nTrace; // 1 for outline, 2+ for hole ^ /root/JavaX-Caches/tmp_1363868686/main.java:20: error: class, interface, or enum expected static Pt[] directions = { ^ /root/JavaX-Caches/tmp_1363868686/main.java:24: error: class, interface, or enum expected void init { ^ /root/JavaX-Caches/tmp_1363868686/main.java:26: error: class, interface, or enum expected w = image.w(); ^ /root/JavaX-Caches/tmp_1363868686/main.java:27: error: class, interface, or enum expected reachedInDirections = new byte[w*image.h()]; ^ /root/JavaX-Caches/tmp_1363868686/main.java:28: error: class, interface, or enum expected it = region.pixelIterator(); ^ /root/JavaX-Caches/tmp_1363868686/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:31: error: class, interface, or enum expected public bool step() { ^ /root/JavaX-Caches/tmp_1363868686/main.java:34: error: class, interface, or enum expected if (tracing) ^ /root/JavaX-Caches/tmp_1363868686/main.java:36: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1363868686/main.java:38: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:42: error: class, interface, or enum expected if ((reachedInDirections[pos] & (1 << dir)) != 0) { ^ /root/JavaX-Caches/tmp_1363868686/main.java:44: error: class, interface, or enum expected tracing = false; ^ /root/JavaX-Caches/tmp_1363868686/main.java:45: error: class, interface, or enum expected ret includeHoles; ^ /root/JavaX-Caches/tmp_1363868686/main.java:46: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:49: error: class, interface, or enum expected foundPoint(x, y); ^ /root/JavaX-Caches/tmp_1363868686/main.java:51: error: class, interface, or enum expected for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back ^ /root/JavaX-Caches/tmp_1363868686/main.java:51: error: class, interface, or enum expected for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back ^ /root/JavaX-Caches/tmp_1363868686/main.java:51: error: class, interface, or enum expected for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back ^ /root/JavaX-Caches/tmp_1363868686/main.java:53: error: class, interface, or enum expected Pt d = directions[newDir]; ^ /root/JavaX-Caches/tmp_1363868686/main.java:54: error: class, interface, or enum expected int x2 = x+d.x, y2 = y+d.y; ^ /root/JavaX-Caches/tmp_1363868686/main.java:55: error: class, interface, or enum expected bool b = region.contains(x2, y2); ^ /root/JavaX-Caches/tmp_1363868686/main.java:56: error: class, interface, or enum expected ifdef RegionBorder_innerPoints_debug ^ /root/JavaX-Caches/tmp_1363868686/main.java:58: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_1363868686/main.java:60: error: class, interface, or enum expected x = x2; y = y2; dir = newDir; ^ /root/JavaX-Caches/tmp_1363868686/main.java:60: error: class, interface, or enum expected x = x2; y = y2; dir = newDir; ^ /root/JavaX-Caches/tmp_1363868686/main.java:61: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1363868686/main.java:62: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:66: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:72: error: class, interface, or enum expected Pt p = it.next(); ^ /root/JavaX-Caches/tmp_1363868686/main.java:73: error: class, interface, or enum expected x = p.x; y = p.y; ^ /root/JavaX-Caches/tmp_1363868686/main.java:73: error: class, interface, or enum expected x = p.x; y = p.y; ^ /root/JavaX-Caches/tmp_1363868686/main.java:75: error: class, interface, or enum expected if (reachedInDirections[y*w+x] != 0) true; // seen pixel before ^ /root/JavaX-Caches/tmp_1363868686/main.java:78: error: class, interface, or enum expected if (!region.contains(x, y-1)) ^ /root/JavaX-Caches/tmp_1363868686/main.java:82: error: class, interface, or enum expected if (!region.contains(x-1, y)) ^ /root/JavaX-Caches/tmp_1363868686/main.java:86: error: class, interface, or enum expected if (!region.contains(x+1, y)) ^ /root/JavaX-Caches/tmp_1363868686/main.java:90: error: class, interface, or enum expected if (!region.contains(x, y+1)) ^ /root/JavaX-Caches/tmp_1363868686/main.java:94: error: class, interface, or enum expected true; ^ /root/JavaX-Caches/tmp_1363868686/main.java:95: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:101: error: class, interface, or enum expected reachedInDirections[y*w+x] = (byte) (15 & ~(1 << dir)); ^ /root/JavaX-Caches/tmp_1363868686/main.java:103: error: class, interface, or enum expected set tracing; ^ /root/JavaX-Caches/tmp_1363868686/main.java:104: error: class, interface, or enum expected newTrace(++nTrace > 1); ^ /root/JavaX-Caches/tmp_1363868686/main.java:105: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:107: error: class, interface, or enum expected void foundPoint(int x, int y) { foundPoint(pt(x, y)); } ^ /root/JavaX-Caches/tmp_1363868686/main.java:113: error: class, interface, or enum expected onFoundPoint(p -> l.add(p)); ^ /root/JavaX-Caches/tmp_1363868686/main.java:114: error: class, interface, or enum expected run(); ^ /root/JavaX-Caches/tmp_1363868686/main.java:115: error: class, interface, or enum expected ret l; ^ /root/JavaX-Caches/tmp_1363868686/main.java:116: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:122: error: class, interface, or enum expected ret new OnePath(allPoints(), true); ^ /root/JavaX-Caches/tmp_1363868686/main.java:123: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:129: error: class, interface, or enum expected ret new OnePathWithOrigin(allPoints(), true); ^ /root/JavaX-Caches/tmp_1363868686/main.java:130: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:135: error: class, interface, or enum expected onTraceDone(-> print("traceDone")); ^ /root/JavaX-Caches/tmp_1363868686/main.java:136: error: class, interface, or enum expected onFoundPoint(p -> print("foundPoint " + p)); ^ /root/JavaX-Caches/tmp_1363868686/main.java:137: error: class, interface, or enum expected stepMaxWithStats(this, 10000); ^ /root/JavaX-Caches/tmp_1363868686/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1363868686/main.java:140: error: class, interface, or enum expected bool tracingHole() { ret nTrace > 1; } ^ 65 errors