Wrote /root/JavaX-Caches/tmp_197136574/main.java - 1681 bytes (written=1681, should be 1681)
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_1354074153 /root/JavaX-Caches/tmp_197136574/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_197136574/main.java:1: error: class, interface, or enum expected
sclass Hi15Image extends WAndHImpl is MakesBufferedImage {
^
/root/JavaX-Caches/tmp_197136574/main.java:4: error: class, interface, or enum expected
*() {} // for persistence
^
/root/JavaX-Caches/tmp_197136574/main.java:8: error: class, interface, or enum expected
*(BufferedImage img) { this(RGBImage(img)); }
^
/root/JavaX-Caches/tmp_197136574/main.java:11: error: class, interface, or enum expected
h = img.getHeight();
^
/root/JavaX-Caches/tmp_197136574/main.java:12: error: class, interface, or enum expected
pixels = new short[w*h];
^
/root/JavaX-Caches/tmp_197136574/main.java:13: error: class, interface, or enum expected
for y to h: for x to w:
^
/root/JavaX-Caches/tmp_197136574/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:17: error: class, interface, or enum expected
*(MakesBufferedImage img) { this(toBufferedImage(img)); }
^
/root/JavaX-Caches/tmp_197136574/main.java:21: error: class, interface, or enum expected
int i = 0, w = this.w, h = this.h;
^
/root/JavaX-Caches/tmp_197136574/main.java:22: error: class, interface, or enum expected
for y to h: for x to w:
^
/root/JavaX-Caches/tmp_197136574/main.java:24: error: class, interface, or enum expected
ret img;
^
/root/JavaX-Caches/tmp_197136574/main.java:25: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:27: error: class, interface, or enum expected
public BufferedImage getBufferedImage() {
^
/root/JavaX-Caches/tmp_197136574/main.java:29: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:37: error: class, interface, or enum expected
public short getHi15Pixel_noRangeCheck(int idx) {
^
/root/JavaX-Caches/tmp_197136574/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:43: error: class, interface, or enum expected
int mask2 = (mask << 10) | (mask << 5) | mask;
^
/root/JavaX-Caches/tmp_197136574/main.java:44: error: class, interface, or enum expected
ret mask2;
^
/root/JavaX-Caches/tmp_197136574/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:49: error: class, interface, or enum expected
int mask = perChannelBitCountMask(bitCount);
^
/root/JavaX-Caches/tmp_197136574/main.java:50: error: class, interface, or enum expected
short[] pixels = this.pixels;
^
/root/JavaX-Caches/tmp_197136574/main.java:51: error: class, interface, or enum expected
for (int i = 0; i < pixels.length; i++)
^
/root/JavaX-Caches/tmp_197136574/main.java:51: error: class, interface, or enum expected
for (int i = 0; i < pixels.length; i++)
^
/root/JavaX-Caches/tmp_197136574/main.java:51: error: class, interface, or enum expected
for (int i = 0; i < pixels.length; i++)
^
/root/JavaX-Caches/tmp_197136574/main.java:53: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_197136574/main.java:57: error: class, interface, or enum expected
int bits = dualLog(numColors);
^
/root/JavaX-Caches/tmp_197136574/main.java:58: error: class, interface, or enum expected
assertDivisibleBy(3, bits);
^
/root/JavaX-Caches/tmp_197136574/main.java:59: error: class, interface, or enum expected
int bitsPerChannel = bits/3;
^
/root/JavaX-Caches/tmp_197136574/main.java:60: error: class, interface, or enum expected
reducePerChannelBitCount(bitsPerChannel);
^
/root/JavaX-Caches/tmp_197136574/main.java:61: error: class, interface, or enum expected
}
^
31 errors