Wrote /root/JavaX-Caches/tmp_1048903261/main.java - 1951 bytes (written=1951, should be 1951)
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:/root/.tinybrain/snippet-cache/1400179.jar -d /root/JavaX-Caches/tmp_169661989 /root/JavaX-Caches/tmp_1048903261/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1048903261/main.java:1: error: class, interface, or enum expected
asclass DynWebCamAnalyzer > DynImageSurfaceAndEnabled {
^
/root/JavaX-Caches/tmp_1048903261/main.java:4: error: class, interface, or enum expected
transient ReliableSingleThread rstUpdateImage = dm_rst(this, r updateImage);
^
/root/JavaX-Caches/tmp_1048903261/main.java:5: error: class, interface, or enum expected
transient S info;
^
/root/JavaX-Caches/tmp_1048903261/main.java:6: error: class, interface, or enum expected
transient JLabel lblInfo;
^
/root/JavaX-Caches/tmp_1048903261/main.java:7: error: class, interface, or enum expected
transient L overlays;
^
/root/JavaX-Caches/tmp_1048903261/main.java:9: error: class, interface, or enum expected
transient BufferedImage inputImage;
^
/root/JavaX-Caches/tmp_1048903261/main.java:10: error: class, interface, or enum expected
transient int w, h; // will be set to width & height of inputImage
^
/root/JavaX-Caches/tmp_1048903261/main.java:11: error: class, interface, or enum expected
transient bool analyzing;
^
/root/JavaX-Caches/tmp_1048903261/main.java:12: error: class, interface, or enum expected
transient S tempInfo;
^
/root/JavaX-Caches/tmp_1048903261/main.java:13: error: class, interface, or enum expected
transient RegularlyClearedAverage analysisTime = new(nto_10seconds()); // nanoseconds for analysis
^
/root/JavaX-Caches/tmp_1048903261/main.java:15: error: class, interface, or enum expected
start {
^
/root/JavaX-Caches/tmp_1048903261/main.java:17: error: class, interface, or enum expected
dm_doEvery(100, rstUpdateImage);
^
/root/JavaX-Caches/tmp_1048903261/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1048903261/main.java:22: error: class, interface, or enum expected
containerAddFirst(buttons,
^
/root/JavaX-Caches/tmp_1048903261/main.java:24: error: unclosed character literal
dm_checkBox('overlay));
^
/root/JavaX-Caches/tmp_1048903261/main.java:25: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1048903261/main.java:29: error: class, interface, or enum expected
BufferedImage img = dm_webCamImage();
^
/root/JavaX-Caches/tmp_1048903261/main.java:30: error: class, interface, or enum expected
if (img == null || img == inputImage) ret;
^
/root/JavaX-Caches/tmp_1048903261/main.java:31: error: class, interface, or enum expected
inputImage = img;
^
/root/JavaX-Caches/tmp_1048903261/main.java:32: error: class, interface, or enum expected
w = img.getWidth();
^
/root/JavaX-Caches/tmp_1048903261/main.java:33: error: class, interface, or enum expected
h = img.getHeight();
^
/root/JavaX-Caches/tmp_1048903261/main.java:35: error: class, interface, or enum expected
long time = nanoTime();
^
/root/JavaX-Caches/tmp_1048903261/main.java:36: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_1048903261/main.java:38: error: class, interface, or enum expected
tempInfo = null;
^
/root/JavaX-Caches/tmp_1048903261/main.java:39: error: class, interface, or enum expected
prepareImage();
^
/root/JavaX-Caches/tmp_1048903261/main.java:40: error: class, interface, or enum expected
time = nanoTime();
^
/root/JavaX-Caches/tmp_1048903261/main.java:41: error: class, interface, or enum expected
analyzeImage();
^
/root/JavaX-Caches/tmp_1048903261/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1048903261/main.java:44: error: class, interface, or enum expected
analysisTime.add(nanoTime()-time);
^
/root/JavaX-Caches/tmp_1048903261/main.java:45: error: class, interface, or enum expected
setInfo(joinNemptiesWithSpacedDot(tempInfo, "Recognition time: " + n2(iceil(analysisTime!)) + " ns"));
^
/root/JavaX-Caches/tmp_1048903261/main.java:47: error: class, interface, or enum expected
BufferedImage img2 = img;
^
/root/JavaX-Caches/tmp_1048903261/main.java:48: error: class, interface, or enum expected
if (overlay)
^
/root/JavaX-Caches/tmp_1048903261/main.java:49: error: class, interface, or enum expected
pcall { drawOverlays(img2 = cloneBufferedImage(img)); }
^
/root/JavaX-Caches/tmp_1048903261/main.java:51: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1048903261/main.java:64: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1048903261/main.java:68: error: class, interface, or enum expected
else setField(+info);
^
/root/JavaX-Caches/tmp_1048903261/main.java:69: error: class, interface, or enum expected
}
^
37 errors