| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This pull request adds GraalVM reflection registration support for Conscrypt SSLContext and Security Provider SPI implementation classes when Conscrypt is present on the classpath. The reviewer noted that nested classes such as KeyManagerFactoryImpl$X509 and TrustManagerFactoryImpl$X509 are not automatically registered by registerClassHierarchyForReflection and will cause ClassNotFoundException at runtime. They also suggested registering older TLS versions (TLSv11 and TLSv1) to support older protocol negotiations.
Sorry, something went wrong.
…resources for GraalVM
…tic conscrypt native library resource pattern
…ypt JNI in GraalVM
| Back | FazBrowse Home | New Git URL |
Error:
JUnit Jupiter:ITBigQueryStorageTest ClassSource [className = 'com.google.cloud.bigquery.storage.v1beta2.it.ITBigQueryStorageTest', filePosition = null] => java.lang.IllegalStateException: Failed to initialize SSLSocketFactory. com.google.api.client.http.javanet.NetHttpTransport$Builder.createDefaultSslSocketFactory(NetHttpTransport.java:476) com.google.api.client.http.javanet.NetHttpTransport$Builder.resolveSslSocketFactory(NetHttpTransport.java:446) com.google.api.client.http.javanet.NetHttpTransport$Builder.build(NetHttpTransport.java:485) com.google.cloud.http.HttpTransportOptions$DefaultHttpTransportFactory.create(HttpTransportOptions.java:75) com.google.cloud.bigquery.spi.v2.HttpBigQueryRpc.<init>(HttpBigQueryRpc.java:108) [...] Caused by: java.security.NoSuchAlgorithmException: class configured for SSLContext (provider: Conscrypt) cannot be found. java.base@21.0.2/java.security.Provider$Service.getImplClass(Provider.java:2004) java.base@21.0.2/java.security.Provider$Service.getDefaultConstructor(Provider.java:2020) java.base@21.0.2/java.security.Provider$Service.newInstanceOf(Provider.java:1934) java.base@21.0.2/java.security.Provider$Service.newInstanceUtil(Provider.java:1942) java.base@21.0.2/java.security.Provider$Service.newInstance(Provider.java:1917) [...] Caused by: java.lang.ClassNotFoundException: org.conscrypt.OpenSSLContextImpl$TLSv13 java.base@21.0.2/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:52) java.base@21.0.2/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) java.base@21.0.2/java.lang.ClassLoader.loadClass(ClassLoader.java:121) java.base@21.0.2/java.security.Provider$Service.getImplClass(Provider.java:1991) [...] ```