Wrote /root/JavaX-Caches/tmp_880063858/main.java - 2420 bytes (written=2420, should be 2420)
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_24313336 /root/JavaX-Caches/tmp_880063858/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_880063858/main.java:1: error: class, interface, or enum expected
sclass ProbabilisticList extends AbstractList {
^
/root/JavaX-Caches/tmp_880063858/main.java:3: error: class, interface, or enum expected
bool verbose;
^
/root/JavaX-Caches/tmp_880063858/main.java:6: error: class, interface, or enum expected
double cutoffProbabilityOnAdd = 0;
^
/root/JavaX-Caches/tmp_880063858/main.java:8: error: class, interface, or enum expected
Comparator byProbability() { ret (a, b) -> cmp(b.probability, a.probability); }
^
/root/JavaX-Caches/tmp_880063858/main.java:8: error: class, interface, or enum expected
Comparator byProbability() { ret (a, b) -> cmp(b.probability, a.probability); }
^
/root/JavaX-Caches/tmp_880063858/main.java:14: error: illegal start of type
*(double *probability, A *element) {}
^
/root/JavaX-Caches/tmp_880063858/main.java:14: error: expected
*(double *probability, A *element) {}
^
/root/JavaX-Caches/tmp_880063858/main.java:14: error: expected
*(double *probability, A *element) {}
^
/root/JavaX-Caches/tmp_880063858/main.java:14: error: ';' expected
*(double *probability, A *element) {}
^
/root/JavaX-Caches/tmp_880063858/main.java:14: error: expected
*(double *probability, A *element) {}
^
/root/JavaX-Caches/tmp_880063858/main.java:16: error: expected
toString {
^
/root/JavaX-Caches/tmp_880063858/main.java:17: error: ';' expected
ret str(WithProbability(probability, element));
^
/root/JavaX-Caches/tmp_880063858/main.java:17: error: ';' expected
ret str(WithProbability(probability, element));
^
/root/JavaX-Caches/tmp_880063858/main.java:21: error: class, interface, or enum expected
public void add aka at(double probability, A element) {
^
/root/JavaX-Caches/tmp_880063858/main.java:23: error: class, interface, or enum expected
if (probability <= cutoffProbabilityOnAdd) ret;
^
/root/JavaX-Caches/tmp_880063858/main.java:24: error: class, interface, or enum expected
entries.add(new Entry(probability, element));
^
/root/JavaX-Caches/tmp_880063858/main.java:25: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:29: error: class, interface, or enum expected
ret s?.element;
^
/root/JavaX-Caches/tmp_880063858/main.java:30: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:34: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:38: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:46: error: class, interface, or enum expected
Entry next = nextSteppable();
^
/root/JavaX-Caches/tmp_880063858/main.java:47: error: class, interface, or enum expected
print("ProbabilisticScheduler. "
^
/root/JavaX-Caches/tmp_880063858/main.java:53: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:58: error: class, interface, or enum expected
public double currentProbability aka current() {
^
/root/JavaX-Caches/tmp_880063858/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:79: error: class, interface, or enum expected
ret s == null ? 0.0 : s.probability;
^
/root/JavaX-Caches/tmp_880063858/main.java:80: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_880063858/main.java:82: error: class, interface, or enum expected
public double lastExecutedProbability() { ret lastExecutedProbability; }
^
/root/JavaX-Caches/tmp_880063858/main.java:82: error: class, interface, or enum expected
public double lastExecutedProbability() { ret lastExecutedProbability; }
^
/root/JavaX-Caches/tmp_880063858/main.java:84: error: class, interface, or enum expected
public long stepCount() { ret stepCount; }
^
/root/JavaX-Caches/tmp_880063858/main.java:84: error: class, interface, or enum expected
public long stepCount() { ret stepCount; }
^
33 errors