Wrote /root/JavaX-Caches/tmp_1284127136/main.java - 1277 bytes (written=1277, should be 1277)
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_1882443541 /root/JavaX-Caches/tmp_1284127136/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1284127136/main.java:1: error: class, interface, or enum expected
sclass TailFile implements AutoCloseable {
^
/root/JavaX-Caches/tmp_1284127136/main.java:3: error: class, interface, or enum expected
int interval;
^
/root/JavaX-Caches/tmp_1284127136/main.java:4: error: class, interface, or enum expected
O onData;
^
/root/JavaX-Caches/tmp_1284127136/main.java:5: error: class, interface, or enum expected
long l;
^
/root/JavaX-Caches/tmp_1284127136/main.java:6: error: class, interface, or enum expected
gettable long currentFileSize;
^
/root/JavaX-Caches/tmp_1284127136/main.java:7: error: class, interface, or enum expected
new Flag stopped;
^
/root/JavaX-Caches/tmp_1284127136/main.java:8: error: class, interface, or enum expected
java.util.Timer timer;
^
/root/JavaX-Caches/tmp_1284127136/main.java:9: error: class, interface, or enum expected
ReliableSingleThread thread;
^
/root/JavaX-Caches/tmp_1284127136/main.java:10: error: class, interface, or enum expected
volatile bool hasIdled, debug;
^
/root/JavaX-Caches/tmp_1284127136/main.java:12: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_1284127136/main.java:13: error: class, interface, or enum expected
*(final File *file, int *interval, O *onData) {
^
/root/JavaX-Caches/tmp_1284127136/main.java:15: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1284127136/main.java:19: error: class, interface, or enum expected
if (l2 < l) l = 0; // file shrunk (log rotated!) - start over from beginning of file
^
/root/JavaX-Caches/tmp_1284127136/main.java:20: error: class, interface, or enum expected
if (l2 == l) hasIdled = true;
^
/root/JavaX-Caches/tmp_1284127136/main.java:21: error: class, interface, or enum expected
else pcall {
^
/root/JavaX-Caches/tmp_1284127136/main.java:23: error: class, interface, or enum expected
for (S s : loadTextFilePart_iterator(file, l, l2))
^
/root/JavaX-Caches/tmp_1284127136/main.java:25: error: class, interface, or enum expected
l = l2;
^
/root/JavaX-Caches/tmp_1284127136/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1284127136/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1284127136/main.java:37: error: class, interface, or enum expected
timer = null;
^
/root/JavaX-Caches/tmp_1284127136/main.java:38: error: class, interface, or enum expected
if (stopped.raise())
^
/root/JavaX-Caches/tmp_1284127136/main.java:40: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1284127136/main.java:42: error: class, interface, or enum expected
public void close { stop(); }
^
/root/JavaX-Caches/tmp_1284127136/main.java:42: error: class, interface, or enum expected
public void close { stop(); }
^
/root/JavaX-Caches/tmp_1284127136/main.java:46: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1284127136/main.java:50: error: class, interface, or enum expected
debug = true;
^
/root/JavaX-Caches/tmp_1284127136/main.java:51: error: class, interface, or enum expected
print("Watching file: " + f2s(file));
^
/root/JavaX-Caches/tmp_1284127136/main.java:52: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1284127136/main.java:54: error: class, interface, or enum expected
toString { ret "Tailing file " + file; }
^
29 errors