Wrote /root/JavaX-Caches/tmp_49765295/main.java - 2148 bytes (written=2148, should be 2148)
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_2114944940 /root/JavaX-Caches/tmp_49765295/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_49765295/main.java:1: error: class, interface, or enum expected
scope guessDeepObjectSize_debug.
^
/root/JavaX-Caches/tmp_49765295/main.java:3: error: illegal character: '#'
sclass #Path {
^
/root/JavaX-Caches/tmp_49765295/main.java:5: error: class, interface, or enum expected
Field field;
^
/root/JavaX-Caches/tmp_49765295/main.java:6: error: class, interface, or enum expected
Path parent;
^
/root/JavaX-Caches/tmp_49765295/main.java:8: error: class, interface, or enum expected
*(O *parentObject, Field *field, Path *parent) {}
^
/root/JavaX-Caches/tmp_49765295/main.java:14: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:19: error: class, interface, or enum expected
Path path; // how we got to this object
^
/root/JavaX-Caches/tmp_49765295/main.java:21: error: class, interface, or enum expected
*(O *object, Path *path) {}
^
/root/JavaX-Caches/tmp_49765295/main.java:24: error: illegal character: '#'
sclass #Data {
^
/root/JavaX-Caches/tmp_49765295/main.java:26: error: class, interface, or enum expected
new L stack;
^
/root/JavaX-Caches/tmp_49765295/main.java:27: error: class, interface, or enum expected
Set seen = identityHashSet(); // add objects here to ignore them
^
/root/JavaX-Caches/tmp_49765295/main.java:28: error: class, interface, or enum expected
Set fieldsToIgnore;
^
/root/JavaX-Caches/tmp_49765295/main.java:29: error: class, interface, or enum expected
Set realmsToIgnore;
^
/root/JavaX-Caches/tmp_49765295/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:34: error: class, interface, or enum expected
ret guessDeepObjectSize_debug(new Data, o);
^
/root/JavaX-Caches/tmp_49765295/main.java:35: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:39: error: class, interface, or enum expected
data.stack.add(OnStack(o, null));
^
/root/JavaX-Caches/tmp_49765295/main.java:40: error: class, interface, or enum expected
while ping (nempty(data.stack)) {
^
/root/JavaX-Caches/tmp_49765295/main.java:41: error: illegal character: '#'
#step(data, popLast(data.stack));
^
/root/JavaX-Caches/tmp_49765295/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:44: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:46: error: illegal character: '#'
svoid #step(Data data, OnStack os) {
^
/root/JavaX-Caches/tmp_49765295/main.java:48: error: class, interface, or enum expected
if (!data.seen.add(o)) ret;
^
/root/JavaX-Caches/tmp_49765295/main.java:49: error: class, interface, or enum expected
if (o instanceof Component) ret; // skipping AWT for now
^
/root/JavaX-Caches/tmp_49765295/main.java:50: error: class, interface, or enum expected
if (o instanceof Thread) ret;
^
/root/JavaX-Caches/tmp_49765295/main.java:52: error: class, interface, or enum expected
if (data.realmsToIgnore != null && contains(data.realmsToIgnore, getRealm(o))) ret;
^
/root/JavaX-Caches/tmp_49765295/main.java:54: error: class, interface, or enum expected
if (o instanceof Class) ret;
^
/root/JavaX-Caches/tmp_49765295/main.java:56: error: class, interface, or enum expected
if (isArray(o)) {
^
/root/JavaX-Caches/tmp_49765295/main.java:58: error: class, interface, or enum expected
if (o instanceof O[]) {
^
/root/JavaX-Caches/tmp_49765295/main.java:60: error: class, interface, or enum expected
for (O x : (O[]) o)
^
/root/JavaX-Caches/tmp_49765295/main.java:63: error: class, interface, or enum expected
} else
^
/root/JavaX-Caches/tmp_49765295/main.java:65: error: class, interface, or enum expected
data.size += len;
^
/root/JavaX-Caches/tmp_49765295/main.java:66: error: class, interface, or enum expected
ret;
^
/root/JavaX-Caches/tmp_49765295/main.java:67: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:71: error: class, interface, or enum expected
if (sizeCalculation_shouldSkipObject(o)) ret;
^
/root/JavaX-Caches/tmp_49765295/main.java:73: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_49765295/main.java:76: error: class, interface, or enum expected
O x = f.get(o);
^
/root/JavaX-Caches/tmp_49765295/main.java:77: error: class, interface, or enum expected
if (x != null && !data.seen.contains(x)) {
^
/root/JavaX-Caches/tmp_49765295/main.java:79: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_49765295/main.java:83: error: class, interface, or enum expected
}
^
40 errors