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

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

/root/JavaX-Caches/tmp_1440454078/main.java:1: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(final RGBImage image) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:1: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(final RGBImage image) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:3: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:13: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(final RGBImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:13: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(final RGBImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:15: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:17: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(final BufferedImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:17: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(final BufferedImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:20: error: class, interface, or enum expected is.setZoom(zoom); ^ /root/JavaX-Caches/tmp_1440454078/main.java:21: error: class, interface, or enum expected packFrame(is); ^ /root/JavaX-Caches/tmp_1440454078/main.java:22: error: class, interface, or enum expected ret is; ^ /root/JavaX-Caches/tmp_1440454078/main.java:23: error: class, interface, or enum expected }); ^ /root/JavaX-Caches/tmp_1440454078/main.java:24: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:26: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final RGBImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:26: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final RGBImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:28: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:30: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final BufferedImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:30: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final BufferedImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:34: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final RGBImage image, S title, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:34: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final RGBImage image, S title, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:36: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:38: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, S title, final RGBImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:38: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, S title, final RGBImage image, final double zoom) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:40: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:42: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, final RGBImage image, S title) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:46: error: class, interface, or enum expected static ImageSurface showZoomedImage_centered(ImageSurface surface, S title, final RGBImage image) { ^ /root/JavaX-Caches/tmp_1440454078/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:53: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1440454078/main.java:55: error: class, interface, or enum expected ret surface; ^ /root/JavaX-Caches/tmp_1440454078/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1440454078/main.java:66: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_1440454078/main.java:68: error: class, interface, or enum expected ret surface; ^ /root/JavaX-Caches/tmp_1440454078/main.java:69: error: class, interface, or enum expected } ^ 38 errors