-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[native-image] SSLContext reflective instantation fails #390
Comments
@lbialy support for the Java security packages is currently under development. There is no workaround for it at this point. |
Workaround that works if you don't actually use https: class DummySSLContext(spi: SSLContextSpi, provider: Provider, s: String) extends SSLContext(spi, provider, s) {
}
private def sslContext: SSLContext = new DummySSLContext(null, null, null) |
Really looking forward to compiling our cli with native-image when ssl/https support lands. Any updates on when it might be implemented or any pointers on how to contribute to make this work? |
This should be fixed in 76d0435 which adds support for HTTPS and JCA security services. You need to run |
quarkusio/quarkus#25986 allows Quarkus native to work with the image-builder running on module path. Reverts: oracle#388, oracle#390, oracle#391 Closes: oracle#389
quarkusio/quarkus#25986 allows Quarkus native to work with the image-builder running on module path. Reverts: oracle#388, oracle#390, oracle#391 Closes: oracle#389
Hello again, I've found another problem with native-image tool related to reflection I guess. When I compile http4s-blaze-client package with native-image I get:
Missing class in question is
sun.security.ssl.SSLContextImpl
. Is providing a shim the only way to work around this class of problems?The text was updated successfully, but these errors were encountered: