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

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

/root/JavaX-Caches/tmp_1293167171/main.java:1: error: class, interface, or enum expected static int loadPage_defaultTimeout = 60000; ^ /root/JavaX-Caches/tmp_1293167171/main.java:2: error: class, interface, or enum expected static new ThreadLocal<S> loadPage_charset; ^ /root/JavaX-Caches/tmp_1293167171/main.java:3: error: class, interface, or enum expected static boolean loadPage_allowGzip = true, loadPage_debug; ^ /root/JavaX-Caches/tmp_1293167171/main.java:4: error: class, interface, or enum expected static boolean loadPage_anonymous; // don't send computer ID ^ /root/JavaX-Caches/tmp_1293167171/main.java:5: error: class, interface, or enum expected static int loadPage_verboseness = 100000; ^ /root/JavaX-Caches/tmp_1293167171/main.java:6: error: class, interface, or enum expected static int loadPage_retries = 1; //60; // seconds ^ /root/JavaX-Caches/tmp_1293167171/main.java:7: error: class, interface, or enum expected static new ThreadLocal<Bool> loadPage_silent; ^ /root/JavaX-Caches/tmp_1293167171/main.java:8: error: class, interface, or enum expected static volatile int loadPage_forcedTimeout; // ms ^ /root/JavaX-Caches/tmp_1293167171/main.java:9: error: class, interface, or enum expected static new ThreadLocal<Int> loadPage_forcedTimeout_byThread; // ms ^ /root/JavaX-Caches/tmp_1293167171/main.java:10: error: class, interface, or enum expected static ThreadLocal<Map<S, L<S>>> loadPage_responseHeaders = new ThreadLocal; ^ /root/JavaX-Caches/tmp_1293167171/main.java:11: error: class, interface, or enum expected static ThreadLocal<SS> loadPage_extraHeaders = new ThreadLocal; ^ /root/JavaX-Caches/tmp_1293167171/main.java:12: error: class, interface, or enum expected static new ThreadLocal<Long> loadPage_sizeLimit; ^ /root/JavaX-Caches/tmp_1293167171/main.java:14: error: class, interface, or enum expected public static String loadPageSilently(String url) ctex { ^ /root/JavaX-Caches/tmp_1293167171/main.java:16: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:18: error: class, interface, or enum expected public static String loadPageSilently(URL url) ctex { ^ /root/JavaX-Caches/tmp_1293167171/main.java:21: error: class, interface, or enum expected IOException e = null; ^ /root/JavaX-Caches/tmp_1293167171/main.java:22: error: class, interface, or enum expected for (int tries = 0; tries < loadPage_retries; tries++) ^ /root/JavaX-Caches/tmp_1293167171/main.java:22: error: class, interface, or enum expected for (int tries = 0; tries < loadPage_retries; tries++) ^ /root/JavaX-Caches/tmp_1293167171/main.java:22: error: class, interface, or enum expected for (int tries = 0; tries < loadPage_retries; tries++) ^ /root/JavaX-Caches/tmp_1293167171/main.java:25: error: class, interface, or enum expected ret loadPage(con, url); ^ /root/JavaX-Caches/tmp_1293167171/main.java:26: error: class, interface, or enum expected } catch (IOException _e) { ^ /root/JavaX-Caches/tmp_1293167171/main.java:28: error: class, interface, or enum expected if (loadPage_debug) ^ /root/JavaX-Caches/tmp_1293167171/main.java:30: error: class, interface, or enum expected if (tries < loadPage_retries-1) sleepSeconds(1); ^ /root/JavaX-Caches/tmp_1293167171/main.java:31: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:33: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:38: error: class, interface, or enum expected if (url.indexOf("://") < 0) ^ /root/JavaX-Caches/tmp_1293167171/main.java:40: error: class, interface, or enum expected return url; ^ /root/JavaX-Caches/tmp_1293167171/main.java:41: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:45: error: class, interface, or enum expected if (!isTrue(loadPage_silent!)) ^ /root/JavaX-Caches/tmp_1293167171/main.java:47: error: class, interface, or enum expected ret loadPageSilently(new URL(url)); ^ /root/JavaX-Caches/tmp_1293167171/main.java:48: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:52: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:56: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:60: error: class, interface, or enum expected Long limit = optPar(loadPage_sizeLimit); ^ /root/JavaX-Caches/tmp_1293167171/main.java:61: error: class, interface, or enum expected if (addHeaders) try { ^ /root/JavaX-Caches/tmp_1293167171/main.java:64: error: class, interface, or enum expected if (loadPage_allowGzip) ^ /root/JavaX-Caches/tmp_1293167171/main.java:66: error: class, interface, or enum expected con.setRequestProperty("X-No-Cookies", "1"); ^ /root/JavaX-Caches/tmp_1293167171/main.java:67: error: class, interface, or enum expected for (S key : keys(extraHeaders)) ^ /root/JavaX-Caches/tmp_1293167171/main.java:69: error: class, interface, or enum expected } catch (Throwable e) {} // fails if within doPost ^ /root/JavaX-Caches/tmp_1293167171/main.java:73: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_1293167171/main.java:75: error: class, interface, or enum expected InputStream in = null; ^ /root/JavaX-Caches/tmp_1293167171/main.java:76: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1293167171/main.java:79: error: class, interface, or enum expected if (loadPage_debug) ^ /root/JavaX-Caches/tmp_1293167171/main.java:81: error: class, interface, or enum expected String contentType = con.getContentType(); ^ /root/JavaX-Caches/tmp_1293167171/main.java:82: error: class, interface, or enum expected if (contentType == null) { ^ /root/JavaX-Caches/tmp_1293167171/main.java:85: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:88: error: class, interface, or enum expected if (charset == null) charset = loadPage_guessCharset(contentType); ^ /root/JavaX-Caches/tmp_1293167171/main.java:90: error: class, interface, or enum expected if ("gzip".equals(con.getContentEncoding())) { ^ /root/JavaX-Caches/tmp_1293167171/main.java:93: error: class, interface, or enum expected in = newGZIPInputStream(in); ^ /root/JavaX-Caches/tmp_1293167171/main.java:94: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:96: error: class, interface, or enum expected try { ^ /root/JavaX-Caches/tmp_1293167171/main.java:98: error: class, interface, or enum expected } catch (UnsupportedEncodingException e) { ^ /root/JavaX-Caches/tmp_1293167171/main.java:100: error: class, interface, or enum expected throw e; ^ /root/JavaX-Caches/tmp_1293167171/main.java:101: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:104: error: class, interface, or enum expected new StringBuilder buf; ^ /root/JavaX-Caches/tmp_1293167171/main.java:105: error: class, interface, or enum expected int n = 0; ^ /root/JavaX-Caches/tmp_1293167171/main.java:106: error: class, interface, or enum expected while (limit == null || n < limit) { ^ /root/JavaX-Caches/tmp_1293167171/main.java:108: error: class, interface, or enum expected int ch = r.read(); ^ /root/JavaX-Caches/tmp_1293167171/main.java:109: error: class, interface, or enum expected if (ch < 0) ^ /root/JavaX-Caches/tmp_1293167171/main.java:111: error: class, interface, or enum expected buf.append((char) ch); ^ /root/JavaX-Caches/tmp_1293167171/main.java:112: error: class, interface, or enum expected ++n; ^ /root/JavaX-Caches/tmp_1293167171/main.java:113: error: class, interface, or enum expected if (!silent && (n % loadPage_verboseness) == 0) ^ /root/JavaX-Caches/tmp_1293167171/main.java:115: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:117: error: class, interface, or enum expected } finally { ^ /root/JavaX-Caches/tmp_1293167171/main.java:121: error: class, interface, or enum expected ifndef LeanMode ^ /root/JavaX-Caches/tmp_1293167171/main.java:123: error: class, interface, or enum expected endifndef ^ /root/JavaX-Caches/tmp_1293167171/main.java:125: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:130: error: class, interface, or enum expected S match = m.matches() ? m.group(1) : null; ^ /root/JavaX-Caches/tmp_1293167171/main.java:131: error: class, interface, or enum expected if (loadPage_debug) ^ /root/JavaX-Caches/tmp_1293167171/main.java:135: error: class, interface, or enum expected return or(match, "UTF-8"); ^ /root/JavaX-Caches/tmp_1293167171/main.java:136: error: class, interface, or enum expected } ^ /root/JavaX-Caches/tmp_1293167171/main.java:140: error: class, interface, or enum expected int timeout = toInt(loadPage_forcedTimeout_byThread!); ^ /root/JavaX-Caches/tmp_1293167171/main.java:141: error: class, interface, or enum expected if (timeout == 0) timeout = loadPage_forcedTimeout; ^ /root/JavaX-Caches/tmp_1293167171/main.java:142: error: class, interface, or enum expected if (timeout != 0) ^ /root/JavaX-Caches/tmp_1293167171/main.java:144: error: class, interface, or enum expected else ^ /root/JavaX-Caches/tmp_1293167171/main.java:146: error: class, interface, or enum expected ret con; ^ /root/JavaX-Caches/tmp_1293167171/main.java:147: error: class, interface, or enum expected } ^ 77 errors