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

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

/root/JavaX-Caches/tmp_943206159/main.java:3: error: class, interface, or enum expected final sclass BWIntegralImage_vectorized implements MakesBufferedImage, IBWIntegralImage { ^ /root/JavaX-Caches/tmp_943206159/main.java:5: error: class, interface, or enum expected int vecShift; // vector size used as dual log ^ /root/JavaX-Caches/tmp_943206159/main.java:6: error: class, interface, or enum expected int[] data; // 1 entry per pixel ^ /root/JavaX-Caches/tmp_943206159/main.java:7: error: class, interface, or enum expected ifdef BWIntegralImage_CountAccesses ^ /root/JavaX-Caches/tmp_943206159/main.java:9: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_943206159/main.java:12: error: class, interface, or enum expected *(File f) { this(loadImage2(f)); } ^ /root/JavaX-Caches/tmp_943206159/main.java:14: error: class, interface, or enum expected *(MakesBufferedImage img) { this(toBufferedImage(img)); } ^ /root/JavaX-Caches/tmp_943206159/main.java:21: error: class, interface, or enum expected PixelGrabber pixelGrabber = new PixelGrabber(image, 0, 0, w, h, data, 0, w); ^ /root/JavaX-Caches/tmp_943206159/main.java:22: error: class, interface, or enum expected if (!pixelGrabber.grabPixels()) ^ /root/JavaX-Caches/tmp_943206159/main.java:25: error: class, interface, or enum expected VectorSpecies<Int> species = IntVector.SPECIES_PREFERRED; ^ /root/JavaX-Caches/tmp_943206159/main.java:26: error: class, interface, or enum expected vecShift = dualLog(species.length()); ^ /root/JavaX-Caches/tmp_943206159/main.java:27: error: class, interface, or enum expected int upperBound = species.loopBound(w); ^ /root/JavaX-Caches/tmp_943206159/main.java:33: error: class, interface, or enum expected int i = 0, sum = 0; ^ /root/JavaX-Caches/tmp_943206159/main.java:34: error: class, interface, or enum expected for (; i < upperBound; i += species.length()) { ^ /root/JavaX-Caches/tmp_943206159/main.java:34: error: class, interface, or enum expected for (; i < upperBound; i += species.length()) { ^ /root/JavaX-Caches/tmp_943206159/main.java:34: error: class, interface, or enum expected for (; i < upperBound; i += species.length()) { ^ /root/JavaX-Caches/tmp_943206159/main.java:36: error: class, interface, or enum expected v = v.and(255).add(sum); ^ /root/JavaX-Caches/tmp_943206159/main.java:37: error: class, interface, or enum expected v.intoArray(data, i); ^ /root/JavaX-Caches/tmp_943206159/main.java:38: error: class, interface, or enum expected sum += v.reduceLanes(VectorOperators.ADD); ^ /root/JavaX-Caches/tmp_943206159/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:41: error: class, interface, or enum expected for (; i < w; i++) ^ /root/JavaX-Caches/tmp_943206159/main.java:41: error: class, interface, or enum expected for (; i < w; i++) ^ /root/JavaX-Caches/tmp_943206159/main.java:45: error: class, interface, or enum expected int i = w; ^ /root/JavaX-Caches/tmp_943206159/main.java:46: error: class, interface, or enum expected for (int y = 1; y < h; y++) { ^ /root/JavaX-Caches/tmp_943206159/main.java:46: error: class, interface, or enum expected for (int y = 1; y < h; y++) { ^ /root/JavaX-Caches/tmp_943206159/main.java:46: error: class, interface, or enum expected for (int y = 1; y < h; y++) { ^ /root/JavaX-Caches/tmp_943206159/main.java:48: error: class, interface, or enum expected int x = 0; ^ /root/JavaX-Caches/tmp_943206159/main.java:49: error: class, interface, or enum expected for (; x < upperBound; x += species.length(), i += species.length()) { ^ /root/JavaX-Caches/tmp_943206159/main.java:49: error: class, interface, or enum expected for (; x < upperBound; x += species.length(), i += species.length()) { ^ /root/JavaX-Caches/tmp_943206159/main.java:49: error: class, interface, or enum expected for (; x < upperBound; x += species.length(), i += species.length()) { ^ /root/JavaX-Caches/tmp_943206159/main.java:51: error: class, interface, or enum expected IntVector v_last = IntVector.fromArray(species, data, i-w); ^ /root/JavaX-Caches/tmp_943206159/main.java:52: error: class, interface, or enum expected v = v.and(255).add(v_last).add(sum); ^ /root/JavaX-Caches/tmp_943206159/main.java:53: error: class, interface, or enum expected v.intoArray(data, i); ^ /root/JavaX-Caches/tmp_943206159/main.java:54: error: class, interface, or enum expected sum += v.reduceLanes(VectorOperators.ADD); ^ /root/JavaX-Caches/tmp_943206159/main.java:55: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:57: error: class, interface, or enum expected for (; x < w; x++, i++) ^ /root/JavaX-Caches/tmp_943206159/main.java:57: error: class, interface, or enum expected for (; x < w; x++, i++) ^ /root/JavaX-Caches/tmp_943206159/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:64: error: class, interface, or enum expected this.h = h; ^ /root/JavaX-Caches/tmp_943206159/main.java:65: error: class, interface, or enum expected if (w*h > 8*1024*1024) ^ /root/JavaX-Caches/tmp_943206159/main.java:67: error: class, interface, or enum expected data = new int[w*h]; ^ /root/JavaX-Caches/tmp_943206159/main.java:68: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:74: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_943206159/main.java:77: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:79: error: class, interface, or enum expected public double getPixelAverage(int x1, int y1, int x2, int y2) { ^ /root/JavaX-Caches/tmp_943206159/main.java:81: error: class, interface, or enum expected ret doubleRatio(bwIntegralImage_sumRect(this, x1, y1, x2, y2), area); ^ /root/JavaX-Caches/tmp_943206159/main.java:82: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:86: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_943206159/main.java:88: error: class, interface, or enum expected int getPixel(Pt p) { ret getPixel(p.x, p.y); } ^ /root/JavaX-Caches/tmp_943206159/main.java:90: error: class, interface, or enum expected public int getWidth() { ret w; } ^ /root/JavaX-Caches/tmp_943206159/main.java:90: error: class, interface, or enum expected public int getWidth() { ret w; } ^ /root/JavaX-Caches/tmp_943206159/main.java:91: error: class, interface, or enum expected public int getHeight() { ret h; } ^ /root/JavaX-Caches/tmp_943206159/main.java:91: error: class, interface, or enum expected public int getHeight() { ret h; } ^ /root/JavaX-Caches/tmp_943206159/main.java:94: error: class, interface, or enum expected public BufferedImage getBufferedImage() { ^ /root/JavaX-Caches/tmp_943206159/main.java:96: error: class, interface, or enum expected } ^ 55 errors