Wrote /root/JavaX-Caches/tmp_140466006/main.java - 2089 bytes (written=2089, should be 2089)
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_2135284010 /root/JavaX-Caches/tmp_140466006/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_140466006/main.java:1: error: class, interface, or enum expected
static int fileOpBot_maxReadSize = 500000;
^
/root/JavaX-Caches/tmp_140466006/main.java:2: error: class, interface, or enum expected
static int fileOpBot_maxWriteSize = 500000;
^
/root/JavaX-Caches/tmp_140466006/main.java:4: error: class, interface, or enum expected
static S fileOpBot(S s) ctex {
^
/root/JavaX-Caches/tmp_140466006/main.java:7: error: class, interface, or enum expected
if "get user home"
^
/root/JavaX-Caches/tmp_140466006/main.java:10: error: class, interface, or enum expected
if "list directory *"
^
/root/JavaX-Caches/tmp_140466006/main.java:13: error: class, interface, or enum expected
if "mkdir *" {
^
/root/JavaX-Caches/tmp_140466006/main.java:15: error: class, interface, or enum expected
mkdir(new File(dir));
^
/root/JavaX-Caches/tmp_140466006/main.java:16: error: class, interface, or enum expected
ret new File(dir).exists() ? "ok" : "problem";
^
/root/JavaX-Caches/tmp_140466006/main.java:17: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_140466006/main.java:21: error: class, interface, or enum expected
new File(dir).delete();
^
/root/JavaX-Caches/tmp_140466006/main.java:22: error: class, interface, or enum expected
ret !new File(dir).exists() ? "ok" : "problem";
^
/root/JavaX-Caches/tmp_140466006/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_140466006/main.java:27: error: class, interface, or enum expected
long from = parseLong(m.unq(1));
^
/root/JavaX-Caches/tmp_140466006/main.java:28: error: class, interface, or enum expected
int l = parseInt(m.unq(2));
^
/root/JavaX-Caches/tmp_140466006/main.java:29: error: class, interface, or enum expected
if (l > fileOpBot_maxReadSize)
^
/root/JavaX-Caches/tmp_140466006/main.java:31: error: class, interface, or enum expected
byte[] buf = new byte[l];
^
/root/JavaX-Caches/tmp_140466006/main.java:32: error: class, interface, or enum expected
RandomAccessFile raf = new RandomAccessFile(f, "r");
^
/root/JavaX-Caches/tmp_140466006/main.java:33: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_140466006/main.java:35: error: class, interface, or enum expected
raf.readFully(buf);
^
/root/JavaX-Caches/tmp_140466006/main.java:36: error: class, interface, or enum expected
ret "OK " + bytesToHex(buf);
^
/root/JavaX-Caches/tmp_140466006/main.java:37: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_140466006/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_140466006/main.java:44: error: class, interface, or enum expected
ret str(f.length());
^
/root/JavaX-Caches/tmp_140466006/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_140466006/main.java:49: error: class, interface, or enum expected
RandomAccessFile raf = new RandomAccessFile(f, "rw");
^
/root/JavaX-Caches/tmp_140466006/main.java:50: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_140466006/main.java:52: error: class, interface, or enum expected
ret "OK";
^
/root/JavaX-Caches/tmp_140466006/main.java:53: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_140466006/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_140466006/main.java:60: error: class, interface, or enum expected
File f = new File(assertAbsolutePath(m.unq(0)));
^
/root/JavaX-Caches/tmp_140466006/main.java:61: error: class, interface, or enum expected
long from = parseLong(m.unq(1));
^
/root/JavaX-Caches/tmp_140466006/main.java:62: error: class, interface, or enum expected
byte[] data = hexToBytes(m.unq(2));
^
/root/JavaX-Caches/tmp_140466006/main.java:63: error: class, interface, or enum expected
if (l(data) > fileOpBot_maxWriteSize)
^
/root/JavaX-Caches/tmp_140466006/main.java:65: error: class, interface, or enum expected
RandomAccessFile raf = new RandomAccessFile(f, "rw");
^
/root/JavaX-Caches/tmp_140466006/main.java:66: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_140466006/main.java:68: error: class, interface, or enum expected
raf.write(data);
^
/root/JavaX-Caches/tmp_140466006/main.java:69: error: class, interface, or enum expected
ret "OK";
^
/root/JavaX-Caches/tmp_140466006/main.java:70: error: class, interface, or enum expected
} finally {
^
/root/JavaX-Caches/tmp_140466006/main.java:72: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_140466006/main.java:76: error: class, interface, or enum expected
}
^
40 errors