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

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

/root/JavaX-Caches/tmp_236508859/main.java:1: error: class, interface, or enum expected sclass rgbMakeGraph_Info { ^ /root/JavaX-Caches/tmp_236508859/main.java:6: error: class, interface, or enum expected float min, max; ^ /root/JavaX-Caches/tmp_236508859/main.java:8: error: class, interface, or enum expected public S toString() { ^ /root/JavaX-Caches/tmp_236508859/main.java:10: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_236508859/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_236508859/main.java:19: error: class, interface, or enum expected float min = min(data), max = max(min+0.0001f, max(data)); ^ /root/JavaX-Caches/tmp_236508859/main.java:20: error: class, interface, or enum expected if (info != null) { ^ /root/JavaX-Caches/tmp_236508859/main.java:22: error: class, interface, or enum expected info.max = max; ^ /root/JavaX-Caches/tmp_236508859/main.java:23: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_236508859/main.java:25: error: class, interface, or enum expected RGBImage img = new RGBImage(w, h, Color.white); ^ /root/JavaX-Caches/tmp_236508859/main.java:26: error: class, interface, or enum expected Color foreground = Color.red; ^ /root/JavaX-Caches/tmp_236508859/main.java:27: error: class, interface, or enum expected for x to w: { ^ /root/JavaX-Caches/tmp_236508859/main.java:29: error: class, interface, or enum expected if (info != null) f *= info.overdrive; ^ /root/JavaX-Caches/tmp_236508859/main.java:30: error: class, interface, or enum expected int y1 = max(0, iround(h*(1-f))); ^ /root/JavaX-Caches/tmp_236508859/main.java:31: error: class, interface, or enum expected for (int y = y1; y < h; y++) ^ /root/JavaX-Caches/tmp_236508859/main.java:31: error: class, interface, or enum expected for (int y = y1; y < h; y++) ^ /root/JavaX-Caches/tmp_236508859/main.java:31: error: class, interface, or enum expected for (int y = y1; y < h; y++) ^ /root/JavaX-Caches/tmp_236508859/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_236508859/main.java:35: error: class, interface, or enum expected } ^ 19 errors