Wrote /root/JavaX-Caches/tmp_1501513092/main.java - 4840 bytes (written=4840, should be 4840)
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_1697376530 /root/JavaX-Caches/tmp_1501513092/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1501513092/main.java:1: error: class, interface, or enum expected
!include once #1034919 // Include OSHI library 6.1.5
^
/root/JavaX-Caches/tmp_1501513092/main.java:1: error: illegal character: '#'
!include once #1034919 // Include OSHI library 6.1.5
^
/root/JavaX-Caches/tmp_1501513092/main.java:11: error: class, interface, or enum expected
static OSProcess[] oshi_listProcesses_withoutOpenFiles(int limit, ProcessSort sort) {
^
/root/JavaX-Caches/tmp_1501513092/main.java:13: error: class, interface, or enum expected
File[] pids = ProcUtil.getPidFiles();
^
/root/JavaX-Caches/tmp_1501513092/main.java:16: error: class, interface, or enum expected
for (File pid : pids) {
^
/root/JavaX-Caches/tmp_1501513092/main.java:18: error: class, interface, or enum expected
if (proc != null)
^
/root/JavaX-Caches/tmp_1501513092/main.java:20: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1501513092/main.java:22: error: class, interface, or enum expected
return sorted.toArray(new OSProcess[sorted.size()]);
^
/root/JavaX-Caches/tmp_1501513092/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1501513092/main.java:27: error: class, interface, or enum expected
Pointer buf = new Memory(1024);
^
/root/JavaX-Caches/tmp_1501513092/main.java:28: error: class, interface, or enum expected
int size = Libc.INSTANCE.readlink(String.format("/proc/%d/exe", pid), buf, 1023);
^
/root/JavaX-Caches/tmp_1501513092/main.java:29: error: class, interface, or enum expected
if (size > 0) {
^
/root/JavaX-Caches/tmp_1501513092/main.java:31: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1501513092/main.java:34: error: class, interface, or enum expected
long now = System.currentTimeMillis();
^
/root/JavaX-Caches/tmp_1501513092/main.java:35: error: class, interface, or enum expected
String stat = FileUtil.getStringFromFile(String.format("/proc/%d/stat", pid));
^
/root/JavaX-Caches/tmp_1501513092/main.java:37: error: class, interface, or enum expected
if (stat.isEmpty()) null;
^
/root/JavaX-Caches/tmp_1501513092/main.java:38: error: class, interface, or enum expected
new OSProcess proc;
^
/root/JavaX-Caches/tmp_1501513092/main.java:41: error: class, interface, or enum expected
proc.setProcessID(pid);
^
/root/JavaX-Caches/tmp_1501513092/main.java:42: error: class, interface, or enum expected
int[] PROC_PID_STAT_ORDERS = cast get(oshi_operatingSystem(), 'PROC_PID_STAT_ORDERS);
^
/root/JavaX-Caches/tmp_1501513092/main.java:42: error: unclosed character literal
int[] PROC_PID_STAT_ORDERS = cast get(oshi_operatingSystem(), 'PROC_PID_STAT_ORDERS);
^
/root/JavaX-Caches/tmp_1501513092/main.java:43: error: class, interface, or enum expected
long[] statArray = ParseUtil.parseStringToLongArray(stat, PROC_PID_STAT_ORDERS, procPidStatLength, ' ');
^
/root/JavaX-Caches/tmp_1501513092/main.java:44: error: class, interface, or enum expected
proc.setParentProcessID((int) statArray[ProcPidStat.PPID.ordinal()]);
^
/root/JavaX-Caches/tmp_1501513092/main.java:45: error: class, interface, or enum expected
proc.setThreadCount((int) statArray[ProcPidStat.THREAD_COUNT.ordinal()]);
^
/root/JavaX-Caches/tmp_1501513092/main.java:46: error: class, interface, or enum expected
proc.setPriority((int) statArray[ProcPidStat.PRIORITY.ordinal()]);
^
/root/JavaX-Caches/tmp_1501513092/main.java:47: error: class, interface, or enum expected
proc.setVirtualSize(statArray[ProcPidStat.VSZ.ordinal()]);
^
/root/JavaX-Caches/tmp_1501513092/main.java:48: error: class, interface, or enum expected
proc.setResidentSetSize(statArray[ProcPidStat.RSS.ordinal()] * this.memoryPageSize);
^
/root/JavaX-Caches/tmp_1501513092/main.java:49: error: class, interface, or enum expected
proc.setKernelTime(statArray[ProcPidStat.KERNEL_TIME.ordinal()] * 1000L / USER_HZ);
^
/root/JavaX-Caches/tmp_1501513092/main.java:50: error: class, interface, or enum expected
proc.setUserTime(statArray[ProcPidStat.USER_TIME.ordinal()] * 1000L / USER_HZ);
^
/root/JavaX-Caches/tmp_1501513092/main.java:51: error: class, interface, or enum expected
long BOOT_TIME = cast getOpt(oshi_operatingSystem(), 'BOOT_TIME);
^
/root/JavaX-Caches/tmp_1501513092/main.java:51: error: unclosed character literal
long BOOT_TIME = cast getOpt(oshi_operatingSystem(), 'BOOT_TIME);
^
/root/JavaX-Caches/tmp_1501513092/main.java:52: error: class, interface, or enum expected
proc.setStartTime(BOOT_TIME + statArray[ProcPidStat.START_TIME.ordinal()] * 1000L / USER_HZ);
^
/root/JavaX-Caches/tmp_1501513092/main.java:55: error: class, interface, or enum expected
if (proc.getStartTime() >= now) {
^
/root/JavaX-Caches/tmp_1501513092/main.java:57: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1501513092/main.java:60: error: class, interface, or enum expected
proc.setBytesRead(ParseUtil.parseLongOrDefault(MapUtil.getOrDefault(io, "read_bytes", ""), 0L));
^
/root/JavaX-Caches/tmp_1501513092/main.java:61: error: class, interface, or enum expected
proc.setBytesWritten(ParseUtil.parseLongOrDefault(MapUtil.getOrDefault(io, "write_bytes", ""), 0L));
^
/root/JavaX-Caches/tmp_1501513092/main.java:64: error: class, interface, or enum expected
List openFilesList = ExecutingCommand.runNative(String.format("ls -f /proc/%d/fd", pid));
^
/root/JavaX-Caches/tmp_1501513092/main.java:65: error: class, interface, or enum expected
proc.setOpenFiles(openFilesList.size() - 1L);
^
/root/JavaX-Caches/tmp_1501513092/main.java:67: error: class, interface, or enum expected
Map status = FileUtil.getKeyValueMapFromFile(String.format("/proc/%d/status", pid), ":");
^
/root/JavaX-Caches/tmp_1501513092/main.java:68: error: class, interface, or enum expected
proc.setName(MapUtil.getOrDefault(status, "Name", ""));
^
/root/JavaX-Caches/tmp_1501513092/main.java:69: error: class, interface, or enum expected
proc.setPath(path);
^
/root/JavaX-Caches/tmp_1501513092/main.java:70: error: class, interface, or enum expected
switch (MapUtil.getOrDefault(status, "State", "U").charAt(0)) {
^
/root/JavaX-Caches/tmp_1501513092/main.java:73: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1501513092/main.java:74: error: class, interface, or enum expected
case 'S':
^
/root/JavaX-Caches/tmp_1501513092/main.java:76: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1501513092/main.java:77: error: class, interface, or enum expected
case 'D':
^
/root/JavaX-Caches/tmp_1501513092/main.java:79: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1501513092/main.java:80: error: class, interface, or enum expected
case 'Z':
^
/root/JavaX-Caches/tmp_1501513092/main.java:82: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1501513092/main.java:83: error: class, interface, or enum expected
case 'T':
^
/root/JavaX-Caches/tmp_1501513092/main.java:85: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1501513092/main.java:86: error: class, interface, or enum expected
default:
^
/root/JavaX-Caches/tmp_1501513092/main.java:88: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_1501513092/main.java:89: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1501513092/main.java:91: error: class, interface, or enum expected
proc.setGroupID(ParseUtil.whitespaces.split(MapUtil.getOrDefault(status, "Gid", ""))[0]);
^
/root/JavaX-Caches/tmp_1501513092/main.java:93: error: class, interface, or enum expected
LinuxUserGroupInfo userGroupInfo = cast get(oshi_operatingSystem(), 'userGroupInfo);
^
/root/JavaX-Caches/tmp_1501513092/main.java:93: error: unclosed character literal
LinuxUserGroupInfo userGroupInfo = cast get(oshi_operatingSystem(), 'userGroupInfo);
^
/root/JavaX-Caches/tmp_1501513092/main.java:94: error: class, interface, or enum expected
OSUser user = userGroupInfo.getUser(proc.getUserID());
^
/root/JavaX-Caches/tmp_1501513092/main.java:95: error: class, interface, or enum expected
if (user != null)
^
/root/JavaX-Caches/tmp_1501513092/main.java:97: error: class, interface, or enum expected
proc.setGroup(userGroupInfo.getGroupName(proc.getGroupID()));
^
/root/JavaX-Caches/tmp_1501513092/main.java:100: error: class, interface, or enum expected
proc.setCommandLine(FileUtil.getStringFromFile(String.format("/proc/%d/cmdline", pid)));
^
/root/JavaX-Caches/tmp_1501513092/main.java:101: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_1501513092/main.java:103: error: class, interface, or enum expected
String cwd = new File(cwdLink).getCanonicalPath();
^
/root/JavaX-Caches/tmp_1501513092/main.java:104: error: class, interface, or enum expected
if (!cwd.equals(cwdLink)) {
^
/root/JavaX-Caches/tmp_1501513092/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1501513092/main.java:109: error: class, interface, or enum expected
}
^
65 errors