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

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

/root/JavaX-Caches/tmp_2113631329/main.java:1: error: class, interface, or enum expected static int backtick_exitValue; ^ /root/JavaX-Caches/tmp_2113631329/main.java:2: error: class, interface, or enum expected static boolean backtick_verbose, backtick_keepScript; ^ /root/JavaX-Caches/tmp_2113631329/main.java:3: error: class, interface, or enum expected static new ThreadLocal<File> backtick_scriptFile; ^ /root/JavaX-Caches/tmp_2113631329/main.java:4: error: class, interface, or enum expected static new ThreadLocal<Bool> backtick_uninterruptable; // Great trick, thanks to Tim Bunce @ http://stackoverflow.com/questions/12856620/how-to-handle-signals-in-bash-during-synchronous-execution ^ /root/JavaX-Caches/tmp_2113631329/main.java:6: error: class, interface, or enum expected sbool backtick_win_cmd; // bugfixing ^ /root/JavaX-Caches/tmp_2113631329/main.java:8: error: class, interface, or enum expected static String backtick(String cmd) ctex { ^ /root/JavaX-Caches/tmp_2113631329/main.java:10: error: class, interface, or enum expected File outFile = File.createTempFile("_backtick", ""); ^ /root/JavaX-Caches/tmp_2113631329/main.java:11: error: class, interface, or enum expected backtickToFile(cmd, outFile); ^ /root/JavaX-Caches/tmp_2113631329/main.java:12: error: class, interface, or enum expected S result = loadTextFile(outFile.getPath(), ""); ^ /root/JavaX-Caches/tmp_2113631329/main.java:13: error: class, interface, or enum expected if (backtick_verbose) { ^ /root/JavaX-Caches/tmp_2113631329/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113631329/main.java:18: error: class, interface, or enum expected ret result; ^ /root/JavaX-Caches/tmp_2113631329/main.java:19: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113631329/main.java:24: error: class, interface, or enum expected process.waitFor(); ^ /root/JavaX-Caches/tmp_2113631329/main.java:25: error: class, interface, or enum expected backtick_exitValue = process.exitValue(); ^ /root/JavaX-Caches/tmp_2113631329/main.java:26: error: class, interface, or enum expected if (backtick_verbose) ^ /root/JavaX-Caches/tmp_2113631329/main.java:28: error: class, interface, or enum expected ret process; ^ /root/JavaX-Caches/tmp_2113631329/main.java:29: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_2113631329/main.java:32: error: class, interface, or enum expected backtick_scriptFile.set(null); ^ /root/JavaX-Caches/tmp_2113631329/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113631329/main.java:38: error: class, interface, or enum expected File scriptFile; ^ /root/JavaX-Caches/tmp_2113631329/main.java:39: error: class, interface, or enum expected S ext = isWindows() ? ".bat" : ""; ^ /root/JavaX-Caches/tmp_2113631329/main.java:40: error: class, interface, or enum expected if (backtick_keepScript) ^ /root/JavaX-Caches/tmp_2113631329/main.java:42: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_2113631329/main.java:44: error: class, interface, or enum expected backtick_scriptFile.set(scriptFile); ^ /root/JavaX-Caches/tmp_2113631329/main.java:45: error: class, interface, or enum expected if (backtick_verbose) ^ /root/JavaX-Caches/tmp_2113631329/main.java:48: error: class, interface, or enum expected bool makeInterruptable = !isTrue(backtick_uninterruptable!) && !isWindows(); ^ /root/JavaX-Caches/tmp_2113631329/main.java:50: error: class, interface, or enum expected cmd = trim(cmd); ^ /root/JavaX-Caches/tmp_2113631329/main.java:51: error: class, interface, or enum expected if (makeInterruptable && numLines(cmd) > 1) fail("No multi-line commands allowed when making interruptable"); ^ /root/JavaX-Caches/tmp_2113631329/main.java:53: error: class, interface, or enum expected S command = cmd + " >" + bashQuote(outFile.getPath()) + " 2>&1"; ^ /root/JavaX-Caches/tmp_2113631329/main.java:54: error: class, interface, or enum expected if (makeInterruptable) command = fixNewLines([[ ^ /root/JavaX-Caches/tmp_2113631329/main.java:57: error: illegal character: '#' # handle options ^ /root/JavaX-Caches/tmp_2113631329/main.java:60: error: class, interface, or enum expected while true; do ^ /root/JavaX-Caches/tmp_2113631329/main.java:62: error: class, interface, or enum expected --killall) setsid=setsid; shift ;; ^ /root/JavaX-Caches/tmp_2113631329/main.java:63: error: class, interface, or enum expected --debug) debug=true; shift ;; ^ /root/JavaX-Caches/tmp_2113631329/main.java:63: error: class, interface, or enum expected --debug) debug=true; shift ;; ^ /root/JavaX-Caches/tmp_2113631329/main.java:64: error: class, interface, or enum expected --*) echo "Invalid option: $1" 1>&2; exit 1;; ^ /root/JavaX-Caches/tmp_2113631329/main.java:64: error: class, interface, or enum expected --*) echo "Invalid option: $1" 1>&2; exit 1;; ^ /root/JavaX-Caches/tmp_2113631329/main.java:65: error: class, interface, or enum expected *) break;; # no more options ^ /root/JavaX-Caches/tmp_2113631329/main.java:65: error: illegal character: '#' *) break;; # no more options ^ /root/JavaX-Caches/tmp_2113631329/main.java:65: error: class, interface, or enum expected *) break;; # no more options ^ /root/JavaX-Caches/tmp_2113631329/main.java:69: error: illegal character: '#' # start the specified command ^ /root/JavaX-Caches/tmp_2113631329/main.java:73: error: illegal character: '#' # arrange to propagate a signal to the child process ^ /root/JavaX-Caches/tmp_2113631329/main.java:74: error: illegal line end in character literal trap ' ^ /root/JavaX-Caches/tmp_2113631329/main.java:77: error: illegal character: '#' trap "" SIGPIPE # ensure a possible sigpipe from the echo does not prevent the kill ^ /root/JavaX-Caches/tmp_2113631329/main.java:79: error: illegal character: '#' # (race) child may have exited in which case kill will report an error ^ /root/JavaX-Caches/tmp_2113631329/main.java:80: error: illegal character: '#' # if setsid is used then prefix the pid with a "-" to indicate that the signal ^ /root/JavaX-Caches/tmp_2113631329/main.java:81: error: illegal character: '#' # should be sent to the entire process group ^ /root/JavaX-Caches/tmp_2113631329/main.java:84: error: unclosed character literal ' SIGTERM ^ /root/JavaX-Caches/tmp_2113631329/main.java:85: error: illegal character: '#' # ensure that the trap doesn't persist after we return ^ /root/JavaX-Caches/tmp_2113631329/main.java:85: error: unclosed character literal # ensure that the trap doesn't persist after we return ^ /root/JavaX-Caches/tmp_2113631329/main.java:86: error: unclosed character literal trap 'trap - SIGTERM' RETURN ^ /root/JavaX-Caches/tmp_2113631329/main.java:86: error: unclosed character literal trap 'trap - SIGTERM' RETURN ^ /root/JavaX-Caches/tmp_2113631329/main.java:90: error: illegal character: '#' # An error status from the child process will trigger an exception (via set -e) ^ /root/JavaX-Caches/tmp_2113631329/main.java:91: error: illegal character: '#' # here unless the caller is checking the return status ^ /root/JavaX-Caches/tmp_2113631329/main.java:92: error: illegal character: '#' wait $child_pid # last command, so status of waited for command is returned ^ /root/JavaX-Caches/tmp_2113631329/main.java:97: error: class, interface, or enum expected if (backtick_verbose) { ^ /root/JavaX-Caches/tmp_2113631329/main.java:99: error: class, interface, or enum expected print("backtick: saving to " + scriptFile.getPath()); ^ /root/JavaX-Caches/tmp_2113631329/main.java:100: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_2113631329/main.java:102: error: class, interface, or enum expected if (backtick_verbose) ^ /root/JavaX-Caches/tmp_2113631329/main.java:104: error: class, interface, or enum expected String[] command2; ^ /root/JavaX-Caches/tmp_2113631329/main.java:105: error: class, interface, or enum expected if (isWindows()) ^ /root/JavaX-Caches/tmp_2113631329/main.java:108: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_2113631329/main.java:110: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_2113631329/main.java:112: error: class, interface, or enum expected if (backtick_verbose) ^ /root/JavaX-Caches/tmp_2113631329/main.java:114: error: class, interface, or enum expected ret Runtime.getRuntime().exec(command2); ^ /root/JavaX-Caches/tmp_2113631329/main.java:115: error: class, interface, or enum expected } ^ 67 errors