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

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

/root/JavaX-Caches/tmp_1327538728/main.java:13: error: class, interface, or enum expected sclass GifSequenceWriter implements AutoCloseable { ^ /root/JavaX-Caches/tmp_1327538728/main.java:15: error: class, interface, or enum expected protected ImageWriteParam imageWriteParam; ^ /root/JavaX-Caches/tmp_1327538728/main.java:16: error: class, interface, or enum expected protected IIOMetadata imageMetaData; ^ /root/JavaX-Caches/tmp_1327538728/main.java:17: error: class, interface, or enum expected ImageOutputStream stream; ^ /root/JavaX-Caches/tmp_1327538728/main.java:30: error: class, interface, or enum expected public GifSequenceWriter( ^ /root/JavaX-Caches/tmp_1327538728/main.java:37: error: class, interface, or enum expected gifWriter = getWriter(); ^ /root/JavaX-Caches/tmp_1327538728/main.java:38: error: class, interface, or enum expected imageWriteParam = gifWriter.getDefaultWriteParam(); ^ /root/JavaX-Caches/tmp_1327538728/main.java:39: error: class, interface, or enum expected ImageTypeSpecifier imageTypeSpecifier = ^ /root/JavaX-Caches/tmp_1327538728/main.java:42: error: class, interface, or enum expected imageMetaData = ^ /root/JavaX-Caches/tmp_1327538728/main.java:46: error: class, interface, or enum expected String metaFormatName = imageMetaData.getNativeMetadataFormatName(); ^ /root/JavaX-Caches/tmp_1327538728/main.java:48: error: class, interface, or enum expected IIOMetadataNode root = (IIOMetadataNode) ^ /root/JavaX-Caches/tmp_1327538728/main.java:51: error: class, interface, or enum expected IIOMetadataNode graphicsControlExtensionNode = getNode( ^ /root/JavaX-Caches/tmp_1327538728/main.java:55: error: class, interface, or enum expected graphicsControlExtensionNode.setAttribute("disposalMethod", "none"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:56: error: class, interface, or enum expected graphicsControlExtensionNode.setAttribute("userInputFlag", "FALSE"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:57: error: class, interface, or enum expected graphicsControlExtensionNode.setAttribute( ^ /root/JavaX-Caches/tmp_1327538728/main.java:60: error: class, interface, or enum expected graphicsControlExtensionNode.setAttribute( ^ /root/JavaX-Caches/tmp_1327538728/main.java:63: error: class, interface, or enum expected graphicsControlExtensionNode.setAttribute( ^ /root/JavaX-Caches/tmp_1327538728/main.java:67: error: class, interface, or enum expected IIOMetadataNode commentsNode = getNode(root, "CommentExtensions"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:68: error: class, interface, or enum expected commentsNode.setAttribute("CommentExtension", "Created by MAH"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:70: error: class, interface, or enum expected IIOMetadataNode appEntensionsNode = getNode( ^ /root/JavaX-Caches/tmp_1327538728/main.java:74: error: class, interface, or enum expected IIOMetadataNode child = new IIOMetadataNode("ApplicationExtension"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:76: error: class, interface, or enum expected child.setAttribute("applicationID", "NETSCAPE"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:77: error: class, interface, or enum expected child.setAttribute("authenticationCode", "2.0"); ^ /root/JavaX-Caches/tmp_1327538728/main.java:79: error: class, interface, or enum expected int loop = loopContinuously ? 0 : 1; ^ /root/JavaX-Caches/tmp_1327538728/main.java:81: error: class, interface, or enum expected child.setUserObject(new byte[]{ 0x1, (byte) (loop & 0xFF), (byte) ^ /root/JavaX-Caches/tmp_1327538728/main.java:83: error: class, interface, or enum expected appEntensionsNode.appendChild(child); ^ /root/JavaX-Caches/tmp_1327538728/main.java:85: error: class, interface, or enum expected imageMetaData.setFromTree(metaFormatName, root); ^ /root/JavaX-Caches/tmp_1327538728/main.java:87: error: class, interface, or enum expected gifWriter.setOutput(outputStream); ^ /root/JavaX-Caches/tmp_1327538728/main.java:89: error: class, interface, or enum expected gifWriter.prepareWriteSequence(null); ^ /root/JavaX-Caches/tmp_1327538728/main.java:90: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1327538728/main.java:92: error: class, interface, or enum expected public void writeToSequence(RenderedImage img) throws IOException { ^ /root/JavaX-Caches/tmp_1327538728/main.java:99: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1327538728/main.java:104: error: class, interface, or enum expected public void close() throws IOException { ^ /root/JavaX-Caches/tmp_1327538728/main.java:106: error: class, interface, or enum expected stream.close(); ^ /root/JavaX-Caches/tmp_1327538728/main.java:107: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1327538728/main.java:119: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1327538728/main.java:134: error: class, interface, or enum expected for (int i = 0; i < nNodes; i++) { ^ /root/JavaX-Caches/tmp_1327538728/main.java:134: error: class, interface, or enum expected for (int i = 0; i < nNodes; i++) { ^ /root/JavaX-Caches/tmp_1327538728/main.java:134: error: class, interface, or enum expected for (int i = 0; i < nNodes; i++) { ^ /root/JavaX-Caches/tmp_1327538728/main.java:138: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1327538728/main.java:141: error: class, interface, or enum expected rootNode.appendChild(node); ^ /root/JavaX-Caches/tmp_1327538728/main.java:142: error: class, interface, or enum expected return(node); ^ /root/JavaX-Caches/tmp_1327538728/main.java:143: error: class, interface, or enum expected } ^ 43 errors