Wrote /root/JavaX-Caches/tmp_1873493673/main.java - 3275 bytes (written=3275, should be 3275)
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_2022322616 /root/JavaX-Caches/tmp_1873493673/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1873493673/main.java:1: error: class, interface, or enum expected
persistable sclass Image2BAsInts is IBinaryImage {
^
/root/JavaX-Caches/tmp_1873493673/main.java:3: error: class, interface, or enum expected
int[] pixels;
^
/root/JavaX-Caches/tmp_1873493673/main.java:5: error: class, interface, or enum expected
*(int *w, int *h, int[] *pixels) { cleanPixelArray(); }
^
/root/JavaX-Caches/tmp_1873493673/main.java:5: error: class, interface, or enum expected
*(int *w, int *h, int[] *pixels) { cleanPixelArray(); }
^
/root/JavaX-Caches/tmp_1873493673/main.java:9: error: class, interface, or enum expected
h = img.getHeight();
^
/root/JavaX-Caches/tmp_1873493673/main.java:10: error: class, interface, or enum expected
pixels = intArrayFromBytes_littleEndian_flexLength(img.pixels);
^
/root/JavaX-Caches/tmp_1873493673/main.java:11: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:15: error: class, interface, or enum expected
h = img.getHeight();
^
/root/JavaX-Caches/tmp_1873493673/main.java:16: error: class, interface, or enum expected
pixels = cloneIntArray(img.pixels);
^
/root/JavaX-Caches/tmp_1873493673/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:21: error: class, interface, or enum expected
h = img.getHeight();
^
/root/JavaX-Caches/tmp_1873493673/main.java:22: error: class, interface, or enum expected
pixels = new int[(w*h+31)/32];
^
/root/JavaX-Caches/tmp_1873493673/main.java:23: error: class, interface, or enum expected
for y to h: for x to w:
^
/root/JavaX-Caches/tmp_1873493673/main.java:26: error: class, interface, or enum expected
pixels[i/32] |= 1 << (i & 31);
^
/root/JavaX-Caches/tmp_1873493673/main.java:27: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:32: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:36: error: class, interface, or enum expected
w = img.w(); h = img.h();
^
/root/JavaX-Caches/tmp_1873493673/main.java:37: error: class, interface, or enum expected
int n = w*h;
^
/root/JavaX-Caches/tmp_1873493673/main.java:38: error: class, interface, or enum expected
int nOut = (n+31)/32;
^
/root/JavaX-Caches/tmp_1873493673/main.java:39: error: class, interface, or enum expected
int[] pixels = this.pixels = new int[nOut];
^
/root/JavaX-Caches/tmp_1873493673/main.java:40: error: class, interface, or enum expected
byte[] bwPixels = img.pixels;
^
/root/JavaX-Caches/tmp_1873493673/main.java:41: error: class, interface, or enum expected
int iIn = 0;
^
/root/JavaX-Caches/tmp_1873493673/main.java:44: error: class, interface, or enum expected
for (int iOut = 0; iOut < nOut-1; iOut++) {
^
/root/JavaX-Caches/tmp_1873493673/main.java:44: error: class, interface, or enum expected
for (int iOut = 0; iOut < nOut-1; iOut++) {
^
/root/JavaX-Caches/tmp_1873493673/main.java:44: error: class, interface, or enum expected
for (int iOut = 0; iOut < nOut-1; iOut++) {
^
/root/JavaX-Caches/tmp_1873493673/main.java:46: error: class, interface, or enum expected
for bit to 32: {
^
/root/JavaX-Caches/tmp_1873493673/main.java:48: error: class, interface, or enum expected
if (ubyteToInt(bwPixels[iIn++]) >= threshold)
^
/root/JavaX-Caches/tmp_1873493673/main.java:50: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:55: error: class, interface, or enum expected
for (; iIn < n; iIn++)
^
/root/JavaX-Caches/tmp_1873493673/main.java:55: error: class, interface, or enum expected
for (; iIn < n; iIn++)
^
/root/JavaX-Caches/tmp_1873493673/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:62: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:66: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:71: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:75: error: class, interface, or enum expected
for y to h: for x to w: {
^
/root/JavaX-Caches/tmp_1873493673/main.java:77: error: class, interface, or enum expected
if ((pixels[i/32] & (1 << (i & 31))) != 0)
^
/root/JavaX-Caches/tmp_1873493673/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:81: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:85: error: class, interface, or enum expected
for y to h: for x to w: {
^
/root/JavaX-Caches/tmp_1873493673/main.java:87: error: class, interface, or enum expected
if ((pixels[i/32] & (1 << (i & 31))) != 0)
^
/root/JavaX-Caches/tmp_1873493673/main.java:89: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:91: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:93: error: class, interface, or enum expected
public BufferedImage getBufferedImage() { ret toBW().getBufferedImage(); }
^
/root/JavaX-Caches/tmp_1873493673/main.java:93: error: class, interface, or enum expected
public BufferedImage getBufferedImage() { ret toBW().getBufferedImage(); }
^
/root/JavaX-Caches/tmp_1873493673/main.java:96: error: class, interface, or enum expected
public bool getPixel aka getBoolPixel(int x, int y) {
^
/root/JavaX-Caches/tmp_1873493673/main.java:98: error: class, interface, or enum expected
ret (pixels[i/32] & (1 << (i & 31))) != 0;
^
/root/JavaX-Caches/tmp_1873493673/main.java:99: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:102: error: class, interface, or enum expected
public bool getPixel aka getBoolPixel(int x, int y, bool defaultColor) {
^
/root/JavaX-Caches/tmp_1873493673/main.java:104: error: class, interface, or enum expected
ret getPixel(x, y);
^
/root/JavaX-Caches/tmp_1873493673/main.java:105: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:107: error: class, interface, or enum expected
public void setPixel(int x, int y, bool b) {
^
/root/JavaX-Caches/tmp_1873493673/main.java:109: error: class, interface, or enum expected
int val = pixels[i/32], shifted = (int) (1 << (i & 31));
^
/root/JavaX-Caches/tmp_1873493673/main.java:110: error: class, interface, or enum expected
val = (int) (b ? val | shifted : val & ~shifted);
^
/root/JavaX-Caches/tmp_1873493673/main.java:111: error: class, interface, or enum expected
pixels[i/32] = val;
^
/root/JavaX-Caches/tmp_1873493673/main.java:112: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:116: error: class, interface, or enum expected
pixels[i/32] |= 1 << (i & 31);
^
/root/JavaX-Caches/tmp_1873493673/main.java:117: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:119: error: class, interface, or enum expected
public int getWidth() { ret w; }
^
/root/JavaX-Caches/tmp_1873493673/main.java:119: error: class, interface, or enum expected
public int getWidth() { ret w; }
^
/root/JavaX-Caches/tmp_1873493673/main.java:120: error: class, interface, or enum expected
public int getHeight() { ret h; }
^
/root/JavaX-Caches/tmp_1873493673/main.java:120: error: class, interface, or enum expected
public int getHeight() { ret h; }
^
/root/JavaX-Caches/tmp_1873493673/main.java:124: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1873493673/main.java:130: error: class, interface, or enum expected
if ((n & 31) != 0)
^
/root/JavaX-Caches/tmp_1873493673/main.java:132: error: class, interface, or enum expected
}
^
65 errors