Wrote /root/JavaX-Caches/tmp_103363377/main.java - 1366 bytes (written=1366, should be 1366)
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_1471622744 /root/JavaX-Caches/tmp_103363377/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_103363377/main.java:5: error: class, interface, or enum expected
static volatile bool disableCertificateValidation_attempted;
^
/root/JavaX-Caches/tmp_103363377/main.java:7: error: class, interface, or enum expected
static void disableCertificateValidation() ctex {
^
/root/JavaX-Caches/tmp_103363377/main.java:9: error: class, interface, or enum expected
set disableCertificateValidation_attempted;
^
/root/JavaX-Caches/tmp_103363377/main.java:10: error: class, interface, or enum expected
print("Disabling certificate validation for whole VM");
^
/root/JavaX-Caches/tmp_103363377/main.java:12: error: class, interface, or enum expected
pcall {
^
/root/JavaX-Caches/tmp_103363377/main.java:16: error: class, interface, or enum expected
public X509Certificate[] getAcceptedIssuers() {
^
/root/JavaX-Caches/tmp_103363377/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_103363377/main.java:19: error: class, interface, or enum expected
public void checkClientTrusted(X509Certificate[] certs, String authType) {}
^
/root/JavaX-Caches/tmp_103363377/main.java:20: error: class, interface, or enum expected
public void checkServerTrusted(X509Certificate[] certs, String authType) {}
^
/root/JavaX-Caches/tmp_103363377/main.java:24: error: class, interface, or enum expected
HostnameVerifier hv = new HostnameVerifier() {
^
/root/JavaX-Caches/tmp_103363377/main.java:25: error: class, interface, or enum expected
public boolean verify(String hostname, SSLSession session) { return true; }
^
/root/JavaX-Caches/tmp_103363377/main.java:25: error: class, interface, or enum expected
public boolean verify(String hostname, SSLSession session) { return true; }
^
/root/JavaX-Caches/tmp_103363377/main.java:29: error: class, interface, or enum expected
SSLContext sc = SSLContext.getInstance("SSL");
^
/root/JavaX-Caches/tmp_103363377/main.java:30: error: class, interface, or enum expected
sc.init(null, trustAllCerts, new SecureRandom());
^
/root/JavaX-Caches/tmp_103363377/main.java:31: error: class, interface, or enum expected
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
^
/root/JavaX-Caches/tmp_103363377/main.java:32: error: class, interface, or enum expected
HttpsURLConnection.setDefaultHostnameVerifier(hv);
^
/root/JavaX-Caches/tmp_103363377/main.java:33: error: class, interface, or enum expected
}
^
17 errors