Wrote /root/JavaX-Caches/tmp_12055484/main.java - 4939 bytes (written=4939, should be 4939)
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_419061503 /root/JavaX-Caches/tmp_12055484/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_12055484/main.java:2: error: class, interface, or enum expected
static String structure(Object o) {
^
/root/JavaX-Caches/tmp_12055484/main.java:4: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:8: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:13: error: class, interface, or enum expected
static String structure(Object o, int stringSizeLimit, IdentityHashMap seen) {
^
/root/JavaX-Caches/tmp_12055484/main.java:18: error: class, interface, or enum expected
if (o instanceof String)
^
/root/JavaX-Caches/tmp_12055484/main.java:21: error: class, interface, or enum expected
if (o instanceof BigInteger)
^
/root/JavaX-Caches/tmp_12055484/main.java:24: error: class, interface, or enum expected
if (o instanceof Double)
^
/root/JavaX-Caches/tmp_12055484/main.java:27: error: class, interface, or enum expected
if (o instanceof Long)
^
/root/JavaX-Caches/tmp_12055484/main.java:30: error: class, interface, or enum expected
if (o instanceof Integer)
^
/root/JavaX-Caches/tmp_12055484/main.java:33: error: class, interface, or enum expected
if (seen != null) {
^
/root/JavaX-Caches/tmp_12055484/main.java:35: error: class, interface, or enum expected
if (ref != null)
^
/root/JavaX-Caches/tmp_12055484/main.java:38: error: class, interface, or enum expected
seen.put(o, seen.size()+1);
^
/root/JavaX-Caches/tmp_12055484/main.java:39: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:43: error: class, interface, or enum expected
StringBuilder buf = new StringBuilder();
^
/root/JavaX-Caches/tmp_12055484/main.java:45: error: class, interface, or enum expected
if (o instanceof HashSet)
^
/root/JavaX-Caches/tmp_12055484/main.java:48: error: class, interface, or enum expected
if (o instanceof TreeSet)
^
/root/JavaX-Caches/tmp_12055484/main.java:51: error: class, interface, or enum expected
if (o instanceof Collection) {
^
/root/JavaX-Caches/tmp_12055484/main.java:54: error: class, interface, or enum expected
buf.append(structure(x, stringSizeLimit, seen));
^
/root/JavaX-Caches/tmp_12055484/main.java:55: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:57: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:62: error: class, interface, or enum expected
buf.append(structure(((Map.Entry) e).getKey(), stringSizeLimit, seen));
^
/root/JavaX-Caches/tmp_12055484/main.java:63: error: class, interface, or enum expected
buf.append("=");
^
/root/JavaX-Caches/tmp_12055484/main.java:64: error: class, interface, or enum expected
buf.append(structure(((Map.Entry) e).getValue(), stringSizeLimit, seen));
^
/root/JavaX-Caches/tmp_12055484/main.java:65: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:67: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:71: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_12055484/main.java:71: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_12055484/main.java:71: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_12055484/main.java:73: error: class, interface, or enum expected
buf.append(structure(Array.get(o, i), stringSizeLimit, seen));
^
/root/JavaX-Caches/tmp_12055484/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:76: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:81: error: class, interface, or enum expected
if (o instanceof Throwable)
^
/root/JavaX-Caches/tmp_12055484/main.java:85: error: class, interface, or enum expected
if (name.startsWith("java.") || name.startsWith("javax."))
^
/root/JavaX-Caches/tmp_12055484/main.java:88: error: class, interface, or enum expected
String shortName = o.getClass().getName().replaceAll("^main\\$", "");
^
/root/JavaX-Caches/tmp_12055484/main.java:90: error: class, interface, or enum expected
if (shortName.equals("Lisp")) {
^
/root/JavaX-Caches/tmp_12055484/main.java:92: error: class, interface, or enum expected
L args = cast getOpt(o, "args");
^
/root/JavaX-Caches/tmp_12055484/main.java:93: error: class, interface, or enum expected
if (nempty(args))
^
/root/JavaX-Caches/tmp_12055484/main.java:94: error: class, interface, or enum expected
for (int i = 0; i < l(args); i++) {
^
/root/JavaX-Caches/tmp_12055484/main.java:94: error: class, interface, or enum expected
for (int i = 0; i < l(args); i++) {
^
/root/JavaX-Caches/tmp_12055484/main.java:96: error: class, interface, or enum expected
O arg = args.get(i);
^
/root/JavaX-Caches/tmp_12055484/main.java:99: error: class, interface, or enum expected
if (arg != null && eq(arg.getClass().getName(), "main$Lisp") && isTrue(call(arg, "isEmpty")))
^
/root/JavaX-Caches/tmp_12055484/main.java:102: error: class, interface, or enum expected
buf.append(structure(arg, stringSizeLimit, seen));
^
/root/JavaX-Caches/tmp_12055484/main.java:103: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:105: error: class, interface, or enum expected
ret str(buf);
^
/root/JavaX-Caches/tmp_12055484/main.java:106: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:109: error: class, interface, or enum expected
String fieldName = "";
^
/root/JavaX-Caches/tmp_12055484/main.java:110: error: class, interface, or enum expected
if (shortName.equals("DynamicObject")) {
^
/root/JavaX-Caches/tmp_12055484/main.java:112: error: class, interface, or enum expected
Map fieldValues = (Map) get(o, "fieldValues");
^
/root/JavaX-Caches/tmp_12055484/main.java:114: error: class, interface, or enum expected
for (String _fieldName : fieldValues.keySet()) {
^
/root/JavaX-Caches/tmp_12055484/main.java:116: error: class, interface, or enum expected
Object value = fieldValues.get(fieldName);
^
/root/JavaX-Caches/tmp_12055484/main.java:117: error: class, interface, or enum expected
if (value != null) {
^
/root/JavaX-Caches/tmp_12055484/main.java:119: error: class, interface, or enum expected
buf.append(fieldName + "=" + structure(value, stringSizeLimit, seen));
^
/root/JavaX-Caches/tmp_12055484/main.java:120: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:122: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:127: error: class, interface, or enum expected
while (c != Object.class) {
^
/root/JavaX-Caches/tmp_12055484/main.java:127: error: expected
while (c != Object.class) {
^
/root/JavaX-Caches/tmp_12055484/main.java:129: error: illegal start of type
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_12055484/main.java:129: error: ';' expected
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_12055484/main.java:129: error: expected
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_12055484/main.java:153: error: expected
c = c.getSuperclass();
^
/root/JavaX-Caches/tmp_12055484/main.java:155: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_12055484/main.java:159: error: class, interface, or enum expected
if (numFields == 1 && structure_allowShortening)
^
/root/JavaX-Caches/tmp_12055484/main.java:161: error: class, interface, or enum expected
String s = shortName;
^
/root/JavaX-Caches/tmp_12055484/main.java:162: error: class, interface, or enum expected
if (buf.length() != 0)
^
/root/JavaX-Caches/tmp_12055484/main.java:164: error: class, interface, or enum expected
return s;
^
/root/JavaX-Caches/tmp_12055484/main.java:165: error: class, interface, or enum expected
}
^
66 errors