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

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

/root/JavaX-Caches/tmp_1546986593/main.java:4: error: class, interface, or enum expected scope regionBorder_innerPoints. ^ /root/JavaX-Caches/tmp_1546986593/main.java:6: error: illegal character: '#' static Pt[] #directions = { ^ /root/JavaX-Caches/tmp_1546986593/main.java:10: error: class, interface, or enum expected static L<Pt> regionBorder_innerPoints(BWImage_FastRegions regions, int iRegion) { ^ /root/JavaX-Caches/tmp_1546986593/main.java:12: error: class, interface, or enum expected int w = regions.w; ^ /root/JavaX-Caches/tmp_1546986593/main.java:13: error: class, interface, or enum expected var it = regions.regionIterator(iRegion); ^ /root/JavaX-Caches/tmp_1546986593/main.java:14: error: class, interface, or enum expected new BitSet seen; ^ /root/JavaX-Caches/tmp_1546986593/main.java:16: error: class, interface, or enum expected while (it.next()) { ^ /root/JavaX-Caches/tmp_1546986593/main.java:20: error: class, interface, or enum expected if (regions.inRegion(iRegion, x, y-1) ^ /root/JavaX-Caches/tmp_1546986593/main.java:27: error: class, interface, or enum expected int dir = 3; // start with direction up (any direction should do) ^ /root/JavaX-Caches/tmp_1546986593/main.java:29: error: class, interface, or enum expected loop: while (true) { ^ /root/JavaX-Caches/tmp_1546986593/main.java:31: error: class, interface, or enum expected if (seen.get(pos)) ^ /root/JavaX-Caches/tmp_1546986593/main.java:33: error: class, interface, or enum expected seen.set(pos); ^ /root/JavaX-Caches/tmp_1546986593/main.java:35: error: class, interface, or enum expected out.add(x, y); ^ /root/JavaX-Caches/tmp_1546986593/main.java:37: error: class, interface, or enum expected for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back ^ /root/JavaX-Caches/tmp_1546986593/main.java:37: error: class, interface, or enum expected for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back ^ /root/JavaX-Caches/tmp_1546986593/main.java:37: error: class, interface, or enum expected for (int turn = 3; turn <= 6; turn++) { // try left, straight, right, back ^ /root/JavaX-Caches/tmp_1546986593/main.java:39: error: class, interface, or enum expected Pt d = directions[newDir]; ^ /root/JavaX-Caches/tmp_1546986593/main.java:40: error: class, interface, or enum expected int x2 = x+d.x, y2 = y+d.y; ^ /root/JavaX-Caches/tmp_1546986593/main.java:41: error: class, interface, or enum expected if (regions.inRegion(iRegion, x2, y2)) { ^ /root/JavaX-Caches/tmp_1546986593/main.java:42: error: class, interface, or enum expected x = x2; y = y2; dir = newDir; ^ /root/JavaX-Caches/tmp_1546986593/main.java:42: error: class, interface, or enum expected x = x2; y = y2; dir = newDir; ^ /root/JavaX-Caches/tmp_1546986593/main.java:43: error: class, interface, or enum expected continue loop; ^ /root/JavaX-Caches/tmp_1546986593/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1546986593/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1546986593/main.java:53: error: class, interface, or enum expected } ^ 25 errors