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

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

/root/JavaX-Caches/tmp_551738565/main.java:6: error: class, interface, or enum expected persistable sclass SSI is HasBounds, G2Drawable, ByteIO { ^ /root/JavaX-Caches/tmp_551738565/main.java:22: error: class, interface, or enum expected settable X[] data; ^ /root/JavaX-Caches/tmp_551738565/main.java:25: error: class, interface, or enum expected settable short hi15color; ^ /root/JavaX-Caches/tmp_551738565/main.java:27: error: class, interface, or enum expected *(int y1, int y2) { ^ /root/JavaX-Caches/tmp_551738565/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:33: error: class, interface, or enum expected data = newXArray((y2-y1)*2); ^ /root/JavaX-Caches/tmp_551738565/main.java:34: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:38: error: class, interface, or enum expected data[(y-y1)*2+1] = toX(xRight); ^ /root/JavaX-Caches/tmp_551738565/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:42: error: class, interface, or enum expected public simplyCached Rect bounds() { ^ /root/JavaX-Caches/tmp_551738565/main.java:44: error: class, interface, or enum expected for (int i = 0; i < l(data); i += 2) { ^ /root/JavaX-Caches/tmp_551738565/main.java:44: error: class, interface, or enum expected for (int i = 0; i < l(data); i += 2) { ^ /root/JavaX-Caches/tmp_551738565/main.java:44: error: class, interface, or enum expected for (int i = 0; i < l(data); i += 2) { ^ /root/JavaX-Caches/tmp_551738565/main.java:46: error: class, interface, or enum expected x2 = max(x2, data[i+1]); ^ /root/JavaX-Caches/tmp_551738565/main.java:47: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:49: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:53: error: class, interface, or enum expected public int numberOfPixels() { ^ /root/JavaX-Caches/tmp_551738565/main.java:56: error: class, interface, or enum expected for (int i = 0; i < l(data); i += 2) ^ /root/JavaX-Caches/tmp_551738565/main.java:56: error: class, interface, or enum expected for (int i = 0; i < l(data); i += 2) ^ /root/JavaX-Caches/tmp_551738565/main.java:56: error: class, interface, or enum expected for (int i = 0; i < l(data); i += 2) ^ /root/JavaX-Caches/tmp_551738565/main.java:58: error: class, interface, or enum expected numberOfPixels_cache = n; ^ /root/JavaX-Caches/tmp_551738565/main.java:59: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:63: error: class, interface, or enum expected public int getHeight() { ret l(data)/2; } ^ /root/JavaX-Caches/tmp_551738565/main.java:63: error: class, interface, or enum expected public int getHeight() { ret l(data)/2; } ^ /root/JavaX-Caches/tmp_551738565/main.java:64: error: class, interface, or enum expected int y2() { ret y1+height(); } ^ /root/JavaX-Caches/tmp_551738565/main.java:66: error: class, interface, or enum expected bool contains(Pt p) { ret contains(p.x, p.y); } ^ /root/JavaX-Caches/tmp_551738565/main.java:69: error: class, interface, or enum expected int i = (y-y1)*2; ^ /root/JavaX-Caches/tmp_551738565/main.java:70: error: class, interface, or enum expected if (i >= l(data)) false; ^ /root/JavaX-Caches/tmp_551738565/main.java:71: error: class, interface, or enum expected ret x >= data[i] && x < data[i+1]; ^ /root/JavaX-Caches/tmp_551738565/main.java:72: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:76: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:80: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:82: error: class, interface, or enum expected public void drawOn(Graphics2D g) { ^ /root/JavaX-Caches/tmp_551738565/main.java:84: error: class, interface, or enum expected int h = height(); ^ /root/JavaX-Caches/tmp_551738565/main.java:85: error: class, interface, or enum expected for y to h: { ^ /root/JavaX-Caches/tmp_551738565/main.java:87: error: class, interface, or enum expected if (x1 < x2) ^ /root/JavaX-Caches/tmp_551738565/main.java:89: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:94: error: class, interface, or enum expected public void drawOutline(Graphics2D g) { ^ /root/JavaX-Caches/tmp_551738565/main.java:96: error: class, interface, or enum expected IntRange last = intRange(0, 0); ^ /root/JavaX-Caches/tmp_551738565/main.java:97: error: class, interface, or enum expected for y to h: { ^ /root/JavaX-Caches/tmp_551738565/main.java:101: error: class, interface, or enum expected if (nempty(r)) { ^ /root/JavaX-Caches/tmp_551738565/main.java:105: error: class, interface, or enum expected else { ^ /root/JavaX-Caches/tmp_551738565/main.java:110: error: class, interface, or enum expected int xright = min(r.end-1, last.end); ^ /root/JavaX-Caches/tmp_551738565/main.java:112: error: class, interface, or enum expected g.drawLine(r.start, y1+y, xleft, y1+y); ^ /root/JavaX-Caches/tmp_551738565/main.java:113: error: class, interface, or enum expected g.drawLine(xright, y1+y, r.end-1, y1+y); ^ /root/JavaX-Caches/tmp_551738565/main.java:114: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:118: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:123: error: class, interface, or enum expected arrayCopy(data, ssi.data, 0, l(ssi.data)); ^ /root/JavaX-Caches/tmp_551738565/main.java:124: error: class, interface, or enum expected ret ssi; ^ /root/JavaX-Caches/tmp_551738565/main.java:125: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:131: error: class, interface, or enum expected for y to h: { ^ /root/JavaX-Caches/tmp_551738565/main.java:133: error: class, interface, or enum expected int x1 = data[i], x2 = data[i+1]; ^ /root/JavaX-Caches/tmp_551738565/main.java:134: error: class, interface, or enum expected if (x1 >= x2) false; ^ /root/JavaX-Caches/tmp_551738565/main.java:135: error: class, interface, or enum expected if (y > 0) { ^ /root/JavaX-Caches/tmp_551738565/main.java:137: error: class, interface, or enum expected if (withDiagonals) { lastx1--; lastx2++; } ^ /root/JavaX-Caches/tmp_551738565/main.java:137: error: class, interface, or enum expected if (withDiagonals) { lastx1--; lastx2++; } ^ /root/JavaX-Caches/tmp_551738565/main.java:137: error: class, interface, or enum expected if (withDiagonals) { lastx1--; lastx2++; } ^ /root/JavaX-Caches/tmp_551738565/main.java:140: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:143: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_551738565/main.java:145: error: class, interface, or enum expected public void readWrite(ByteHead head) { ^ /root/JavaX-Caches/tmp_551738565/main.java:147: error: class, interface, or enum expected head.exchangeShort(-> y1, y1 -> this.y1 = y1); ^ /root/JavaX-Caches/tmp_551738565/main.java:148: error: class, interface, or enum expected head.exchangeShort(-> toShort_enforce(y2()), y2 -> init(y1, y2)); ^ /root/JavaX-Caches/tmp_551738565/main.java:149: error: class, interface, or enum expected for i over data: { ^ /root/JavaX-Caches/tmp_551738565/main.java:151: error: class, interface, or enum expected head.exchangeShort(-> data[i], x -> data[i] = x); ^ /root/JavaX-Caches/tmp_551738565/main.java:152: error: class, interface, or enum expected } ^ 66 errors