Wrote /root/JavaX-Caches/tmp_1687122122/main.java - 4207 bytes (written=4207, should be 4207)
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_428156058 /root/JavaX-Caches/tmp_1687122122/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_1687122122/main.java:1: error: class, interface, or enum expected
static String structure(Object o) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:3: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:8: error: class, interface, or enum expected
static String structure(Object o, int stringSizeLimit) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:10: error: class, interface, or enum expected
String name = o.getClass().getName();
^
/root/JavaX-Caches/tmp_1687122122/main.java:12: error: class, interface, or enum expected
StringBuilder buf = new StringBuilder();
^
/root/JavaX-Caches/tmp_1687122122/main.java:14: error: class, interface, or enum expected
if (o instanceof HashSet)
^
/root/JavaX-Caches/tmp_1687122122/main.java:17: error: class, interface, or enum expected
if (o instanceof TreeSet)
^
/root/JavaX-Caches/tmp_1687122122/main.java:20: error: class, interface, or enum expected
if (o instanceof Collection) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:23: error: class, interface, or enum expected
buf.append(structure(x, stringSizeLimit));
^
/root/JavaX-Caches/tmp_1687122122/main.java:24: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:26: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:31: error: class, interface, or enum expected
buf.append(structure(((Map.Entry) e).getKey(), stringSizeLimit));
^
/root/JavaX-Caches/tmp_1687122122/main.java:32: error: class, interface, or enum expected
buf.append("=");
^
/root/JavaX-Caches/tmp_1687122122/main.java:33: error: class, interface, or enum expected
buf.append(structure(((Map.Entry) e).getValue(), stringSizeLimit));
^
/root/JavaX-Caches/tmp_1687122122/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:36: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:40: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:40: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:40: error: class, interface, or enum expected
for (int i = 0; i < n; i++) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:42: error: class, interface, or enum expected
buf.append(structure(Array.get(o, i), stringSizeLimit));
^
/root/JavaX-Caches/tmp_1687122122/main.java:43: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:50: error: class, interface, or enum expected
if (o instanceof Class)
^
/root/JavaX-Caches/tmp_1687122122/main.java:53: error: class, interface, or enum expected
if (o instanceof Throwable)
^
/root/JavaX-Caches/tmp_1687122122/main.java:56: error: class, interface, or enum expected
if (o instanceof BigInteger)
^
/root/JavaX-Caches/tmp_1687122122/main.java:59: error: class, interface, or enum expected
if (o instanceof Double)
^
/root/JavaX-Caches/tmp_1687122122/main.java:62: error: class, interface, or enum expected
if (o instanceof Long)
^
/root/JavaX-Caches/tmp_1687122122/main.java:66: error: class, interface, or enum expected
if (name.startsWith("java.") || name.startsWith("javax."))
^
/root/JavaX-Caches/tmp_1687122122/main.java:69: error: class, interface, or enum expected
String shortName = o.getClass().getName().replaceAll("^main\\$", "");
^
/root/JavaX-Caches/tmp_1687122122/main.java:71: error: class, interface, or enum expected
if (shortName.equals("Lisp")) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:73: error: class, interface, or enum expected
L args = cast getOpt(o, "args");
^
/root/JavaX-Caches/tmp_1687122122/main.java:74: error: class, interface, or enum expected
if (nempty(args))
^
/root/JavaX-Caches/tmp_1687122122/main.java:75: error: class, interface, or enum expected
for (int i = 0; i < l(args); i++) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:75: error: class, interface, or enum expected
for (int i = 0; i < l(args); i++) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:77: error: class, interface, or enum expected
O arg = args.get(i);
^
/root/JavaX-Caches/tmp_1687122122/main.java:80: error: class, interface, or enum expected
if (arg != null && eq(arg.getClass().getName(), "main$Lisp") && isTrue(call(arg, "isEmpty")))
^
/root/JavaX-Caches/tmp_1687122122/main.java:83: error: class, interface, or enum expected
buf.append(structure(arg));
^
/root/JavaX-Caches/tmp_1687122122/main.java:84: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:86: error: class, interface, or enum expected
ret str(buf);
^
/root/JavaX-Caches/tmp_1687122122/main.java:87: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:90: error: class, interface, or enum expected
String fieldName = "";
^
/root/JavaX-Caches/tmp_1687122122/main.java:91: error: class, interface, or enum expected
if (shortName.equals("DynamicObject")) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:93: error: class, interface, or enum expected
Map fieldValues = (Map) get(o, "fieldValues");
^
/root/JavaX-Caches/tmp_1687122122/main.java:95: error: class, interface, or enum expected
for (String _fieldName : fieldValues.keySet()) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:97: error: class, interface, or enum expected
Object value = fieldValues.get(fieldName);
^
/root/JavaX-Caches/tmp_1687122122/main.java:98: error: class, interface, or enum expected
if (value != null) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:100: error: class, interface, or enum expected
buf.append(fieldName + "=" + structure(value, stringSizeLimit));
^
/root/JavaX-Caches/tmp_1687122122/main.java:101: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:103: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:108: error: class, interface, or enum expected
for (Field field : fields) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:111: error: class, interface, or enum expected
Object value;
^
/root/JavaX-Caches/tmp_1687122122/main.java:112: error: class, interface, or enum expected
try {
^
/root/JavaX-Caches/tmp_1687122122/main.java:114: error: class, interface, or enum expected
value = field.get(o);
^
/root/JavaX-Caches/tmp_1687122122/main.java:115: error: class, interface, or enum expected
} catch (Exception e) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:117: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:123: error: class, interface, or enum expected
if (value != null) {
^
/root/JavaX-Caches/tmp_1687122122/main.java:125: error: class, interface, or enum expected
buf.append(fieldName + "=" + structure(value, stringSizeLimit));
^
/root/JavaX-Caches/tmp_1687122122/main.java:126: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:128: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_1687122122/main.java:133: error: class, interface, or enum expected
if (numFields == 1 && structure_allowShortening)
^
/root/JavaX-Caches/tmp_1687122122/main.java:135: error: class, interface, or enum expected
String s = shortName;
^
/root/JavaX-Caches/tmp_1687122122/main.java:136: error: class, interface, or enum expected
if (buf.length() != 0)
^
/root/JavaX-Caches/tmp_1687122122/main.java:138: error: class, interface, or enum expected
return s;
^
/root/JavaX-Caches/tmp_1687122122/main.java:139: error: class, interface, or enum expected
}
^
64 errors