Wrote /root/JavaX-Caches/tmp_1846496059/main.java - 2183 bytes (written=2183, should be 2183)
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_2026468647 /root/JavaX-Caches/tmp_1846496059/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1846496059/main.java:1: error: class, interface, or enum expected
sclass Smiley {
^
/root/JavaX-Caches/tmp_1846496059/main.java:3: error: class, interface, or enum expected
S imageID = #1007256;
^
/root/JavaX-Caches/tmp_1846496059/main.java:3: error: illegal character: '#'
S imageID = #1007256;
^
/root/JavaX-Caches/tmp_1846496059/main.java:4: error: class, interface, or enum expected
S rectsDef = [[ [Rect(h=415, w=392, x=104, y=168), Rect(h=420, w=393, x=552, y=168), Rect(h=414, w=392, x=1008, y=168), Rect(h=416, w=392, x=1448, y=168), Rect(h=416, w=400, x=112, y=640), Rect(h=416, w=392, x=560, y=640), Rect(h=424, w=400, x=1000, y=632), Rect(h=421, w=393, x=1447, y=632), Rect(h=419, w=400, x=112, y=1112), Rect(h=416, w=392, x=560, y=1112), Rect(h=416, w=392, x=1000, y=1112), Rect(h=424, w=394, x=1446, y=1104), /* the gray one: Rect(h=422, w=393, x=1447, y=1576),*/ Rect(h=420, w=400, x=96, y=1584), Rect(h=420, w=400, x=552, y=1583), Rect(h=416, w=392, x=1000, y=1584)] ]];
^
/root/JavaX-Caches/tmp_1846496059/main.java:6: error: class, interface, or enum expected
Map names = littreemap(
^
/root/JavaX-Caches/tmp_1846496059/main.java:24: error: class, interface, or enum expected
ImageSurface is;
^
/root/JavaX-Caches/tmp_1846496059/main.java:25: error: class, interface, or enum expected
BufferedImage bi;
^
/root/JavaX-Caches/tmp_1846496059/main.java:26: error: class, interface, or enum expected
Pt size;
^
/root/JavaX-Caches/tmp_1846496059/main.java:27: error: class, interface, or enum expected
L theRects;
^
/root/JavaX-Caches/tmp_1846496059/main.java:28: error: class, interface, or enum expected
int currentEmotion;
^
/root/JavaX-Caches/tmp_1846496059/main.java:30: error: class, interface, or enum expected
*() {
^
/root/JavaX-Caches/tmp_1846496059/main.java:32: error: class, interface, or enum expected
theRects = (L) unstructure(rectsDef);
^
/root/JavaX-Caches/tmp_1846496059/main.java:33: error: class, interface, or enum expected
size = ceilScalePt(rectsMaxSize(theRects), zoom);
^
/root/JavaX-Caches/tmp_1846496059/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1846496059/main.java:38: error: class, interface, or enum expected
for (int i : keys(names))
^
/root/JavaX-Caches/tmp_1846496059/main.java:41: error: class, interface, or enum expected
ret 0;
^
/root/JavaX-Caches/tmp_1846496059/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1846496059/main.java:46: error: class, interface, or enum expected
ret getFrame(is);
^
/root/JavaX-Caches/tmp_1846496059/main.java:47: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1846496059/main.java:49: error: class, interface, or enum expected
bool showing() { ret getFrame(is) != null; }
^
/root/JavaX-Caches/tmp_1846496059/main.java:53: error: class, interface, or enum expected
is = null;
^
/root/JavaX-Caches/tmp_1846496059/main.java:54: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1846496059/main.java:58: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1846496059/main.java:61: error: class, interface, or enum expected
final int i = max(1, min(l(theRects), _i));
^
/root/JavaX-Caches/tmp_1846496059/main.java:62: error: class, interface, or enum expected
swing {
^
/root/JavaX-Caches/tmp_1846496059/main.java:65: error: class, interface, or enum expected
currentEmotion = i;
^
/root/JavaX-Caches/tmp_1846496059/main.java:66: error: class, interface, or enum expected
Rect r = theRects.get(i-1);
^
/root/JavaX-Caches/tmp_1846496059/main.java:67: error: class, interface, or enum expected
is = showZoomedImage_centered(is, clipBufferedImage(bi, r), zoom);
^
/root/JavaX-Caches/tmp_1846496059/main.java:68: error: class, interface, or enum expected
setFrameTitle(is, names.get(i));
^
/root/JavaX-Caches/tmp_1846496059/main.java:69: error: class, interface, or enum expected
if (first)
^
/root/JavaX-Caches/tmp_1846496059/main.java:71: error: class, interface, or enum expected
}
^
31 errors