You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If you issue HTTPS connections, [Native Image](https://www.graalvm.org/docs/reference-manual/native-image/) compilation requires an additional parameter in order to enable its support in the generated image.
245
+
You'll need to enable url protocols when building your native image.
246
246
247
-
If you get the following kind of error:
248
-
249
-
Exception in thread "main" java.net.MalformedURLException: Accessing an URL protocol that was not enabled.
250
-
The URL protocol https is supported but not enabled by default. It must be enabled by adding the
251
-
-H:EnableURLProtocols=https option to the native-image command.
252
-
253
-
Then add either `-H:EnableURLProtocols=https` or `--enable-https` option to your compilation step.
247
+
See [GraalVM docs](https://www.graalvm.org/22.2/reference-manual/native-image/dynamic-features/URLProtocols/).
0 commit comments