Wrote /root/JavaX-Caches/tmp_421520623/main.java - 1196 bytes (written=1196, should be 1196)
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_408751317 /root/JavaX-Caches/tmp_421520623/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_421520623/main.java:1: error: class, interface, or enum expected
concept Screenshot {
^
/root/JavaX-Caches/tmp_421520623/main.java:3: error: class, interface, or enum expected
Rect r; // optional, rectangle that was shot
^
/root/JavaX-Caches/tmp_421520623/main.java:5: error: class, interface, or enum expected
*() {} // for persistance
^
/root/JavaX-Caches/tmp_421520623/main.java:8: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:13: error: class, interface, or enum expected
ret prepareProgramFile(_programID(), "screenshot" + id + ".png");
^
/root/JavaX-Caches/tmp_421520623/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:22: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:28: error: class, interface, or enum expected
*() {} // for persistance
^
/root/JavaX-Caches/tmp_421520623/main.java:31: error: class, interface, or enum expected
bool hasImage() { ret img != null; }
^
/root/JavaX-Caches/tmp_421520623/main.java:32: error: class, interface, or enum expected
BufferedImage loadImage() { ret img; }
^
/root/JavaX-Caches/tmp_421520623/main.java:34: error: class, interface, or enum expected
void disposeImage() { img = null; }
^
/root/JavaX-Caches/tmp_421520623/main.java:39: error: class, interface, or enum expected
Rect positionInScreenshot;
^
/root/JavaX-Caches/tmp_421520623/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:44: error: class, interface, or enum expected
BWImage img;
^
/root/JavaX-Caches/tmp_421520623/main.java:45: error: class, interface, or enum expected
S description;
^
/root/JavaX-Caches/tmp_421520623/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:50: error: class, interface, or enum expected
new Ref clip;
^
/root/JavaX-Caches/tmp_421520623/main.java:51: error: class, interface, or enum expected
FoundImg fi; // contains Rect r
^
/root/JavaX-Caches/tmp_421520623/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_421520623/main.java:56: error: class, interface, or enum expected
new Ref clip;
^
/root/JavaX-Caches/tmp_421520623/main.java:57: error: class, interface, or enum expected
}
^
22 errors