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

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

/root/JavaX-Caches/tmp_899156329/main.java:1: error: class, interface, or enum expected static new ThreadLocal<Bool> doPost_silently; ^ /root/JavaX-Caches/tmp_899156329/main.java:2: error: class, interface, or enum expected static new ThreadLocal<Long> doPost_timeout; ^ /root/JavaX-Caches/tmp_899156329/main.java:3: error: class, interface, or enum expected static new ThreadLocal<SS> doPost_extraHeaders; ^ /root/JavaX-Caches/tmp_899156329/main.java:5: error: class, interface, or enum expected sS doPost(S url, Map urlParameters) { ^ /root/JavaX-Caches/tmp_899156329/main.java:7: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_899156329/main.java:11: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_899156329/main.java:15: error: class, interface, or enum expected ping(); ^ /root/JavaX-Caches/tmp_899156329/main.java:16: error: class, interface, or enum expected return doPost(urlParameters, _url.openConnection(), _url); ^ /root/JavaX-Caches/tmp_899156329/main.java:17: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_899156329/main.java:21: error: class, interface, or enum expected Long timeout = optParam(doPost_timeout); ^ /root/JavaX-Caches/tmp_899156329/main.java:22: error: class, interface, or enum expected SS extraHeaders = optPar(doPost_extraHeaders); ^ /root/JavaX-Caches/tmp_899156329/main.java:23: error: class, interface, or enum expected setHeaders(conn); ^ /root/JavaX-Caches/tmp_899156329/main.java:24: error: class, interface, or enum expected for (S key : keys(extraHeaders)) { ^ /root/JavaX-Caches/tmp_899156329/main.java:27: error: class, interface, or enum expected endifdef ^ /root/JavaX-Caches/tmp_899156329/main.java:29: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_899156329/main.java:32: error: class, interface, or enum expected if (!silently) ^ /root/JavaX-Caches/tmp_899156329/main.java:36: error: class, interface, or enum expected if (timeout != null) setURLConnectionTimeouts(conn, timeout); ^ /root/JavaX-Caches/tmp_899156329/main.java:37: error: class, interface, or enum expected cast conn to HttpURLConnection; ^ /root/JavaX-Caches/tmp_899156329/main.java:38: error: class, interface, or enum expected conn.setRequestMethod("POST"); ^ /root/JavaX-Caches/tmp_899156329/main.java:39: error: class, interface, or enum expected conn.setDoOutput(true); ^ /root/JavaX-Caches/tmp_899156329/main.java:40: error: class, interface, or enum expected conn.setFixedLengthStreamingMode(l); ^ /root/JavaX-Caches/tmp_899156329/main.java:43: error: class, interface, or enum expected OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream(), "UTF-8"); ^ /root/JavaX-Caches/tmp_899156329/main.java:44: error: class, interface, or enum expected writer.write(urlParameters); ^ /root/JavaX-Caches/tmp_899156329/main.java:45: error: class, interface, or enum expected writer.flush(); ^ /root/JavaX-Caches/tmp_899156329/main.java:47: error: class, interface, or enum expected String contents = loadPage_utf8(conn, url, false); ^ /root/JavaX-Caches/tmp_899156329/main.java:48: error: class, interface, or enum expected writer.close(); ^ /root/JavaX-Caches/tmp_899156329/main.java:49: error: class, interface, or enum expected return contents; ^ /root/JavaX-Caches/tmp_899156329/main.java:50: error: class, interface, or enum expected } ^ 28 errors