Wrote /root/JavaX-Caches/tmp_85704073/main.java - 1612 bytes (written=1612, should be 1612) 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_1096205434 /root/JavaX-Caches/tmp_85704073/main.java 2>&1
[Compilation Error]

Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.

/root/JavaX-Caches/tmp_85704073/main.java:1: error: class, interface, or enum expected asclass AbstractProfiler is AutoCloseable { ^ /root/JavaX-Caches/tmp_85704073/main.java:4: error: class, interface, or enum expected settable bool skipSleeping; ^ /root/JavaX-Caches/tmp_85704073/main.java:7: error: class, interface, or enum expected new MultiSet<S> stackTraceMultiSet; ^ /root/JavaX-Caches/tmp_85704073/main.java:8: error: class, interface, or enum expected gettable volatile int samples; ^ /root/JavaX-Caches/tmp_85704073/main.java:11: error: class, interface, or enum expected java.util.Timer timer; ^ /root/JavaX-Caches/tmp_85704073/main.java:12: error: class, interface, or enum expected Lock lock = lock(); ^ /root/JavaX-Caches/tmp_85704073/main.java:14: error: class, interface, or enum expected void start { ^ /root/JavaX-Caches/tmp_85704073/main.java:16: error: class, interface, or enum expected assertCanStart(); ^ /root/JavaX-Caches/tmp_85704073/main.java:17: error: class, interface, or enum expected printWithMS("Starting " + this); ^ /root/JavaX-Caches/tmp_85704073/main.java:18: error: class, interface, or enum expected stop(); ^ /root/JavaX-Caches/tmp_85704073/main.java:19: error: class, interface, or enum expected clear(); ^ /root/JavaX-Caches/tmp_85704073/main.java:20: error: class, interface, or enum expected timer = doEvery_daemon("Profiler", interval, r stepImpl); ^ /root/JavaX-Caches/tmp_85704073/main.java:21: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_85704073/main.java:24: error: class, interface, or enum expected abstract void stepImpl(); ^ /root/JavaX-Caches/tmp_85704073/main.java:26: error: class, interface, or enum expected public void stop aka close() { ^ /root/JavaX-Caches/tmp_85704073/main.java:28: error: class, interface, or enum expected if (timer != null) { ^ /root/JavaX-Caches/tmp_85704073/main.java:30: error: class, interface, or enum expected timer = null; ^ /root/JavaX-Caches/tmp_85704073/main.java:31: error: class, interface, or enum expected printWithMS("Stopped " + this); ^ /root/JavaX-Caches/tmp_85704073/main.java:32: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_85704073/main.java:37: error: class, interface, or enum expected stackTraceMultiSet.clear(); ^ /root/JavaX-Caches/tmp_85704073/main.java:38: error: class, interface, or enum expected samples = 0; ^ /root/JavaX-Caches/tmp_85704073/main.java:39: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_85704073/main.java:43: error: class, interface, or enum expected ret cloneMultiSet(stackTraceMultiSet); ^ /root/JavaX-Caches/tmp_85704073/main.java:44: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_85704073/main.java:48: error: class, interface, or enum expected stop(); ^ /root/JavaX-Caches/tmp_85704073/main.java:49: error: class, interface, or enum expected ret results(); ^ /root/JavaX-Caches/tmp_85704073/main.java:50: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_85704073/main.java:54: error: class, interface, or enum expected int n = traces.size(); ^ /root/JavaX-Caches/tmp_85704073/main.java:55: error: class, interface, or enum expected int percent = ratioToIntPercent(l(traces), samples); ^ /root/JavaX-Caches/tmp_85704073/main.java:56: error: class, interface, or enum expected ret (samples == 0 ? "Nothing sampled" ^ /root/JavaX-Caches/tmp_85704073/main.java:61: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_85704073/main.java:66: error: class, interface, or enum expected } ^ 32 errors