Wrote /root/JavaX-Caches/tmp_1794546910/main.java - 1428 bytes (written=1428, should be 1428)
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_1169352417 /root/JavaX-Caches/tmp_1794546910/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1794546910/main.java:1: error: class, interface, or enum expected
static BufferedImage blendBufferedImages(BufferedImage bi1, BufferedImage bi2) {
^
/root/JavaX-Caches/tmp_1794546910/main.java:3: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1794546910/main.java:8: error: class, interface, or enum expected
int width = bi1.getWidth ();
^
/root/JavaX-Caches/tmp_1794546910/main.java:9: error: class, interface, or enum expected
if (width != bi2.getWidth ())
^
/root/JavaX-Caches/tmp_1794546910/main.java:12: error: class, interface, or enum expected
int height = bi1.getHeight ();
^
/root/JavaX-Caches/tmp_1794546910/main.java:13: error: class, interface, or enum expected
if (height != bi2.getHeight ())
^
/root/JavaX-Caches/tmp_1794546910/main.java:16: error: class, interface, or enum expected
BufferedImage bi3 = new BufferedImage (width, height,
^
/root/JavaX-Caches/tmp_1794546910/main.java:18: error: class, interface, or enum expected
int [] rgbim1 = new int [width];
^
/root/JavaX-Caches/tmp_1794546910/main.java:19: error: class, interface, or enum expected
int [] rgbim2 = new int [width];
^
/root/JavaX-Caches/tmp_1794546910/main.java:20: error: class, interface, or enum expected
int [] rgbim3 = new int [width];
^
/root/JavaX-Caches/tmp_1794546910/main.java:22: error: class, interface, or enum expected
for (int row = 0; row < height; row++)
^
/root/JavaX-Caches/tmp_1794546910/main.java:22: error: class, interface, or enum expected
for (int row = 0; row < height; row++)
^
/root/JavaX-Caches/tmp_1794546910/main.java:22: error: class, interface, or enum expected
for (int row = 0; row < height; row++)
^
/root/JavaX-Caches/tmp_1794546910/main.java:25: error: class, interface, or enum expected
bi2.getRGB (0, row, width, 1, rgbim2, 0, width);
^
/root/JavaX-Caches/tmp_1794546910/main.java:27: error: class, interface, or enum expected
for (int col = 0; col < width; col++)
^
/root/JavaX-Caches/tmp_1794546910/main.java:27: error: class, interface, or enum expected
for (int col = 0; col < width; col++)
^
/root/JavaX-Caches/tmp_1794546910/main.java:27: error: class, interface, or enum expected
for (int col = 0; col < width; col++)
^
/root/JavaX-Caches/tmp_1794546910/main.java:30: error: class, interface, or enum expected
int r1 = (rgb1 >> 16) & 255;
^
/root/JavaX-Caches/tmp_1794546910/main.java:31: error: class, interface, or enum expected
int g1 = (rgb1 >> 8) & 255;
^
/root/JavaX-Caches/tmp_1794546910/main.java:32: error: class, interface, or enum expected
int b1 = rgb1 & 255;
^
/root/JavaX-Caches/tmp_1794546910/main.java:34: error: class, interface, or enum expected
int rgb2 = rgbim2 [col];
^
/root/JavaX-Caches/tmp_1794546910/main.java:35: error: class, interface, or enum expected
int r2 = (rgb2 >> 16) & 255;
^
/root/JavaX-Caches/tmp_1794546910/main.java:36: error: class, interface, or enum expected
int g2 = (rgb2 >> 8) & 255;
^
/root/JavaX-Caches/tmp_1794546910/main.java:37: error: class, interface, or enum expected
int b2 = rgb2 & 255;
^
/root/JavaX-Caches/tmp_1794546910/main.java:39: error: class, interface, or enum expected
int r3 = (int) (r1*weight+r2*(1.0-weight));
^
/root/JavaX-Caches/tmp_1794546910/main.java:40: error: class, interface, or enum expected
int g3 = (int) (g1*weight+g2*(1.0-weight));
^
/root/JavaX-Caches/tmp_1794546910/main.java:41: error: class, interface, or enum expected
int b3 = (int) (b1*weight+b2*(1.0-weight));
^
/root/JavaX-Caches/tmp_1794546910/main.java:42: error: class, interface, or enum expected
rgbim3 [col] = (r3 << 16) | (g3 << 8) | b3;
^
/root/JavaX-Caches/tmp_1794546910/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1794546910/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1794546910/main.java:49: error: class, interface, or enum expected
}
^
31 errors