Wrote /root/JavaX-Caches/tmp_1800512089/main.java - 4118 bytes (written=4118, should be 4118)
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_198845736 /root/JavaX-Caches/tmp_1800512089/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1800512089/main.java:1: error: class, interface, or enum expected
scope loadBufferedImageFixingGIFs.
^
/root/JavaX-Caches/tmp_1800512089/main.java:6: error: illegal character: '#'
sbool #debug;
^
/root/JavaX-Caches/tmp_1800512089/main.java:7: error: class, interface, or enum expected
static ThreadLocal> #output = new ThreadLocal;
^
/root/JavaX-Caches/tmp_1800512089/main.java:7: error: illegal character: '#'
static ThreadLocal> #output = new ThreadLocal;
^
/root/JavaX-Caches/tmp_1800512089/main.java:9: error: class, interface, or enum expected
static Image loadBufferedImageFixingGIFs(File file) ctex {
^
/root/JavaX-Caches/tmp_1800512089/main.java:13: error: class, interface, or enum expected
if (!isGIF(file))
^
/root/JavaX-Caches/tmp_1800512089/main.java:16: error: class, interface, or enum expected
if (debug) print(__scope + ": checking gif");
^
/root/JavaX-Caches/tmp_1800512089/main.java:19: error: class, interface, or enum expected
ImageReader reader = ImageIO.getImageReadersByFormatName("gif").next();
^
/root/JavaX-Caches/tmp_1800512089/main.java:21: error: class, interface, or enum expected
reader.setInput(ImageIO.createImageInputStream(file));
^
/root/JavaX-Caches/tmp_1800512089/main.java:23: error: class, interface, or enum expected
int numImages = reader.getNumImages(true);
^
/root/JavaX-Caches/tmp_1800512089/main.java:26: error: class, interface, or enum expected
IIOMetadata imageMetaData = reader.getImageMetadata(0);
^
/root/JavaX-Caches/tmp_1800512089/main.java:27: error: class, interface, or enum expected
String metaFormatName = imageMetaData.getNativeMetadataFormatName();
^
/root/JavaX-Caches/tmp_1800512089/main.java:30: error: class, interface, or enum expected
boolean foundBug = false;
^
/root/JavaX-Caches/tmp_1800512089/main.java:31: error: class, interface, or enum expected
for (int i = 0; i < numImages && !foundBug; i++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:31: error: class, interface, or enum expected
for (int i = 0; i < numImages && !foundBug; i++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:31: error: class, interface, or enum expected
for (int i = 0; i < numImages && !foundBug; i++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:36: error: class, interface, or enum expected
int nNodes = root.getLength();
^
/root/JavaX-Caches/tmp_1800512089/main.java:37: error: class, interface, or enum expected
for (int j = 0; j < nNodes; j++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:37: error: class, interface, or enum expected
for (int j = 0; j < nNodes; j++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:37: error: class, interface, or enum expected
for (int j = 0; j < nNodes; j++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:39: error: class, interface, or enum expected
if (node.getNodeName().equalsIgnoreCase("GraphicControlExtension")) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:44: error: class, interface, or enum expected
if (Integer.parseInt(delay) == 0) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:49: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:56: error: class, interface, or enum expected
Image image;
^
/root/JavaX-Caches/tmp_1800512089/main.java:57: error: class, interface, or enum expected
if (!foundBug) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:59: error: class, interface, or enum expected
} else {
^
/root/JavaX-Caches/tmp_1800512089/main.java:62: error: class, interface, or enum expected
{
^
/root/JavaX-Caches/tmp_1800512089/main.java:65: error: class, interface, or enum expected
ImageWriter writer = ImageIO.getImageWriter(reader);
^
/root/JavaX-Caches/tmp_1800512089/main.java:67: error: class, interface, or enum expected
writer.setOutput(ios);
^
/root/JavaX-Caches/tmp_1800512089/main.java:69: error: class, interface, or enum expected
writer.prepareWriteSequence(null);
^
/root/JavaX-Caches/tmp_1800512089/main.java:71: error: class, interface, or enum expected
for (int i = 0; i < numImages; i++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:71: error: class, interface, or enum expected
for (int i = 0; i < numImages; i++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:71: error: class, interface, or enum expected
for (int i = 0; i < numImages; i++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:76: error: class, interface, or enum expected
IIOMetadataNode root = (IIOMetadataNode)reader.getImageMetadata(i).getAsTree(metaFormatName);
^
/root/JavaX-Caches/tmp_1800512089/main.java:79: error: class, interface, or enum expected
int nNodes = root.getLength();
^
/root/JavaX-Caches/tmp_1800512089/main.java:80: error: class, interface, or enum expected
for (int j = 0; j < nNodes; j++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:80: error: class, interface, or enum expected
for (int j = 0; j < nNodes; j++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:80: error: class, interface, or enum expected
for (int j = 0; j < nNodes; j++) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:82: error: class, interface, or enum expected
if (node.getNodeName().equalsIgnoreCase("GraphicControlExtension")) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:87: error: class, interface, or enum expected
if (Integer.parseInt(delay) == 0) {
^
/root/JavaX-Caches/tmp_1800512089/main.java:90: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:93: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:99: error: class, interface, or enum expected
metadata.setFromTree(metadata.getNativeMetadataFormatName(), root);
^
/root/JavaX-Caches/tmp_1800512089/main.java:102: error: class, interface, or enum expected
IIOImage frameOut = new IIOImage(frameIn, null, metadata);
^
/root/JavaX-Caches/tmp_1800512089/main.java:105: error: class, interface, or enum expected
writer.writeToSequence(frameOut, writer.getDefaultWriteParam());
^
/root/JavaX-Caches/tmp_1800512089/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:109: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:113: error: class, interface, or enum expected
setVar(output!, data);
^
/root/JavaX-Caches/tmp_1800512089/main.java:114: error: class, interface, or enum expected
if (debug) print("Data size: " + l(data));
^
/root/JavaX-Caches/tmp_1800512089/main.java:115: error: class, interface, or enum expected
image = Toolkit.getDefaultToolkit().createImage(data);
^
/root/JavaX-Caches/tmp_1800512089/main.java:116: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1800512089/main.java:119: error: class, interface, or enum expected
}
^
53 errors