Wrote /root/JavaX-Caches/tmp_999259293/main.java - 2907 bytes (written=2907, should be 2907)
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_489853315 /root/JavaX-Caches/tmp_999259293/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_999259293/main.java:8: error: class, interface, or enum expected
sclass SNIKeyManager extends X509ExtendedKeyManager {
^
/root/JavaX-Caches/tmp_999259293/main.java:10: error: class, interface, or enum expected
S defaultAlias = "test1.example.com";
^
/root/JavaX-Caches/tmp_999259293/main.java:11: error: class, interface, or enum expected
bool verbose;
^
/root/JavaX-Caches/tmp_999259293/main.java:13: error: class, interface, or enum expected
*(X509ExtendedKeyManager *keyManager) {}
^
/root/JavaX-Caches/tmp_999259293/main.java:16: error: class, interface, or enum expected
public String[] getClientAliases(String keyType, Principal[] issuers) {
^
/root/JavaX-Caches/tmp_999259293/main.java:18: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:21: error: class, interface, or enum expected
public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) {
^
/root/JavaX-Caches/tmp_999259293/main.java:23: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:26: error: class, interface, or enum expected
public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) {
^
/root/JavaX-Caches/tmp_999259293/main.java:28: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:31: error: class, interface, or enum expected
public String[] getServerAliases(String keyType, Principal[] issuers) {
^
/root/JavaX-Caches/tmp_999259293/main.java:33: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:36: error: class, interface, or enum expected
public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
^
/root/JavaX-Caches/tmp_999259293/main.java:39: error: class, interface, or enum expected
print("chooseServerAlias session type: " + className(session));
^
/root/JavaX-Caches/tmp_999259293/main.java:40: error: class, interface, or enum expected
List names = session.getRequestedServerNames();
^
/root/JavaX-Caches/tmp_999259293/main.java:41: error: class, interface, or enum expected
if (verbose)
^
/root/JavaX-Caches/tmp_999259293/main.java:44: error: class, interface, or enum expected
ret keyManager.chooseServerAlias(keyType, issuers, socket);
^
/root/JavaX-Caches/tmp_999259293/main.java:45: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:48: error: class, interface, or enum expected
public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) {
^
/root/JavaX-Caches/tmp_999259293/main.java:52: error: class, interface, or enum expected
String hostname = null;
^
/root/JavaX-Caches/tmp_999259293/main.java:53: error: class, interface, or enum expected
List names = session.getRequestedServerNames();
^
/root/JavaX-Caches/tmp_999259293/main.java:54: error: class, interface, or enum expected
if (verbose)
^
/root/JavaX-Caches/tmp_999259293/main.java:56: error: class, interface, or enum expected
for (SNIServerName name : names) {
^
/root/JavaX-Caches/tmp_999259293/main.java:59: error: class, interface, or enum expected
break;
^
/root/JavaX-Caches/tmp_999259293/main.java:60: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:67: error: class, interface, or enum expected
else
^
/root/JavaX-Caches/tmp_999259293/main.java:69: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:72: error: class, interface, or enum expected
public X509Certificate[] getCertificateChain(String alias) {
^
/root/JavaX-Caches/tmp_999259293/main.java:74: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_999259293/main.java:77: error: class, interface, or enum expected
public PrivateKey getPrivateKey(String alias) {
^
/root/JavaX-Caches/tmp_999259293/main.java:79: error: class, interface, or enum expected
}
^
31 errors