Wrote /root/JavaX-Caches/tmp_1629287893/main.java - 2233 bytes (written=2233, should be 2233)
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_1006058199 /root/JavaX-Caches/tmp_1629287893/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1629287893/main.java:8: error: class, interface, or enum expected
sclass FastDownscale8x8 {
^
/root/JavaX-Caches/tmp_1629287893/main.java:10: error: class, interface, or enum expected
int[] horizontallyScaledPixels, finalPixels;
^
/root/JavaX-Caches/tmp_1629287893/main.java:12: error: class, interface, or enum expected
void scaleHorizontally(BufferedImage img) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1629287893/main.java:18: error: class, interface, or enum expected
w = gp.w;
^
/root/JavaX-Caches/tmp_1629287893/main.java:19: error: class, interface, or enum expected
int h = this.h = gp.h;
^
/root/JavaX-Caches/tmp_1629287893/main.java:20: error: class, interface, or enum expected
int w2 = this.w2 = w/scaleX, h2 = this.h2 = h/scaleY;
^
/root/JavaX-Caches/tmp_1629287893/main.java:22: error: class, interface, or enum expected
int[] newPixels = horizontallyScaledPixels = new int[w2*h];
^
/root/JavaX-Caches/tmp_1629287893/main.java:24: error: class, interface, or enum expected
int iRow = gp.offset, iOut = 0;
^
/root/JavaX-Caches/tmp_1629287893/main.java:25: error: class, interface, or enum expected
int[] pixels = gp.data;
^
/root/JavaX-Caches/tmp_1629287893/main.java:27: error: class, interface, or enum expected
for (int y = 0; y < h; y++) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:27: error: class, interface, or enum expected
for (int y = 0; y < h; y++) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:27: error: class, interface, or enum expected
for (int y = 0; y < h; y++) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:30: error: class, interface, or enum expected
for x to w2: {
^
/root/JavaX-Caches/tmp_1629287893/main.java:33: error: class, interface, or enum expected
for subX to 8: {
^
/root/JavaX-Caches/tmp_1629287893/main.java:35: error: class, interface, or enum expected
r += (rgb >> 16) & 0xFF;
^
/root/JavaX-Caches/tmp_1629287893/main.java:36: error: class, interface, or enum expected
g += (rgb >> 8) & 0xFF;
^
/root/JavaX-Caches/tmp_1629287893/main.java:37: error: class, interface, or enum expected
b += rgb & 0xFF;
^
/root/JavaX-Caches/tmp_1629287893/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1629287893/main.java:41: error: class, interface, or enum expected
newPixels[iOut++] = rgbIntFullAlpha(r/scaleX, g/scaleX, b/scaleX);
^
/root/JavaX-Caches/tmp_1629287893/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1629287893/main.java:45: error: class, interface, or enum expected
} // for y
^
/root/JavaX-Caches/tmp_1629287893/main.java:50: error: class, interface, or enum expected
int[] pixels = horizontallyScaledPixels;
^
/root/JavaX-Caches/tmp_1629287893/main.java:51: error: class, interface, or enum expected
int[] newPixels = finalPixels = new int[w2*h2];
^
/root/JavaX-Caches/tmp_1629287893/main.java:53: error: class, interface, or enum expected
int iRow = 0, iOut = 0;
^
/root/JavaX-Caches/tmp_1629287893/main.java:55: error: class, interface, or enum expected
for (int y = 0; y < h2; y++) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:55: error: class, interface, or enum expected
for (int y = 0; y < h2; y++) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:55: error: class, interface, or enum expected
for (int y = 0; y < h2; y++) {
^
/root/JavaX-Caches/tmp_1629287893/main.java:58: error: class, interface, or enum expected
for x to w2: {
^
/root/JavaX-Caches/tmp_1629287893/main.java:60: error: class, interface, or enum expected
int iIn2 = iIn;
^
/root/JavaX-Caches/tmp_1629287893/main.java:62: error: class, interface, or enum expected
for subY to 8: {
^
/root/JavaX-Caches/tmp_1629287893/main.java:64: error: class, interface, or enum expected
iIn2 += w2;
^
/root/JavaX-Caches/tmp_1629287893/main.java:65: error: class, interface, or enum expected
r += (rgb >> 16) & 0xFF;
^
/root/JavaX-Caches/tmp_1629287893/main.java:66: error: class, interface, or enum expected
g += (rgb >> 8) & 0xFF;
^
/root/JavaX-Caches/tmp_1629287893/main.java:67: error: class, interface, or enum expected
b += rgb & 0xFF;
^
/root/JavaX-Caches/tmp_1629287893/main.java:68: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1629287893/main.java:71: error: class, interface, or enum expected
newPixels[iOut++] = rgbIntFullAlpha(r/scaleX, g/scaleX, b/scaleX);
^
/root/JavaX-Caches/tmp_1629287893/main.java:72: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1629287893/main.java:75: error: class, interface, or enum expected
} // for y
^
/root/JavaX-Caches/tmp_1629287893/main.java:80: error: class, interface, or enum expected
scaleVertically();
^
/root/JavaX-Caches/tmp_1629287893/main.java:81: error: class, interface, or enum expected
ret get();
^
/root/JavaX-Caches/tmp_1629287893/main.java:82: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1629287893/main.java:86: error: class, interface, or enum expected
}
^
43 errors