From 910fceabdaa4a97f223e2fc78bb4a2c27876a27b Mon Sep 17 00:00:00 2001 From: "David M. Lloyd" Date: Wed, 3 Jul 2024 08:37:38 -0500 Subject: [PATCH] Reinitialize the SmallRye `HostName` class as well --- .../io/quarkus/deployment/steps/NativeImageConfigBuildStep.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageConfigBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageConfigBuildStep.java index 2ac0440ee5137..a7507d0538468 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageConfigBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageConfigBuildStep.java @@ -102,6 +102,7 @@ void reinitHostNameUtil(BuildProducer runtim // so we reinitialize this to re-compute the field (and other related fields) during native application's // runtime runtimeReInitClass.produce(new RuntimeReinitializedClassBuildItem("org.wildfly.common.net.HostName")); + runtimeReInitClass.produce(new RuntimeReinitializedClassBuildItem("io.smallrye.common.net.HostName")); } private Boolean isSslNativeEnabled(SslNativeConfigBuildItem sslNativeConfig,