Skip to content

Commit c709c6f

Browse files
authored
Merge pull request #50593 from zakkak/2025-10-16-remove-EnableAllSecurityServicesBuildItem
Remove Obsolete `EnableAllSecurityServicesBuildItem`
2 parents 665a487 + 51f8a14 commit c709c6f

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

core/deployment/src/main/java/io/quarkus/deployment/builditem/EnableAllSecurityServicesBuildItem.java

Lines changed: 0 additions & 11 deletions
This file was deleted.

core/deployment/src/main/java/io/quarkus/deployment/pkg/steps/NativeImageBuildStep.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -715,15 +715,6 @@ public NativeImageInvokerInfo build() {
715715
//todo: this should be specific build items
716716
if (prop.getKey().equals("quarkus.ssl.native") && prop.getValue() != null) {
717717
enableSslNative = Boolean.parseBoolean(prop.getValue());
718-
} else if (prop.getKey().equals("quarkus.jni.enable") && prop.getValue().equals("false")) {
719-
log.warn("Your application is setting the deprecated 'quarkus.jni.enable' configuration key to false."
720-
+ " Please consider removing this configuration key as it is ignored (JNI is always enabled) and it"
721-
+ " will be removed in a future Quarkus version.");
722-
} else if (prop.getKey().equals("quarkus.native.enable-all-security-services") && prop.getValue() != null) {
723-
log.warn(
724-
"Your application is setting the deprecated 'quarkus.native.enable-all-security-services' configuration key."
725-
+ " Please consider removing this configuration key as it is ignored and it"
726-
+ " will be removed in a future Quarkus version.");
727718
} else if (prop.getKey().equals("quarkus.native.enable-all-charsets") && prop.getValue() != null) {
728719
addAllCharsets |= Boolean.parseBoolean(prop.getValue());
729720
} else {

core/deployment/src/main/java/io/quarkus/deployment/steps/NativeImageConfigBuildStep.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import io.quarkus.deployment.annotations.BuildStep;
1111
import io.quarkus.deployment.annotations.ExecutionTime;
1212
import io.quarkus.deployment.annotations.Record;
13-
import io.quarkus.deployment.builditem.EnableAllSecurityServicesBuildItem;
1413
import io.quarkus.deployment.builditem.ExtensionSslNativeSupportBuildItem;
1514
import io.quarkus.deployment.builditem.JavaLibraryPathAdditionalPathBuildItem;
1615
import io.quarkus.deployment.builditem.JniBuildItem;
@@ -42,7 +41,6 @@ void build(NativeConfig nativeConfig,
4241
List<JniBuildItem> jniBuildItems,
4342
List<NativeImageEnableAllCharsetsBuildItem> nativeImageEnableAllCharsetsBuildItems,
4443
List<ExtensionSslNativeSupportBuildItem> extensionSslNativeSupport,
45-
List<EnableAllSecurityServicesBuildItem> enableAllSecurityServicesBuildItems,
4644
List<InlineBeforeAnalysisBuildItem> inlineBeforeAnalysisBuildItems,
4745
BuildProducer<NativeImageProxyDefinitionBuildItem> proxy,
4846
BuildProducer<NativeImageResourceBundleBuildItem> resourceBundle,
@@ -76,10 +74,6 @@ void build(NativeConfig nativeConfig,
7674
Boolean sslNativeEnabled = isSslNativeEnabled(sslNativeConfig, extensionSslNativeSupport);
7775
nativeImage.produce(new NativeImageSystemPropertyBuildItem("quarkus.ssl.native", sslNativeEnabled.toString()));
7876

79-
if (!enableAllSecurityServicesBuildItems.isEmpty()) {
80-
nativeImage.produce(new NativeImageSystemPropertyBuildItem("quarkus.native.enable-all-security-services", "true"));
81-
}
82-
8377
if (!inlineBeforeAnalysisBuildItems.isEmpty()) {
8478
nativeImage.produce(new NativeImageSystemPropertyBuildItem("quarkus.native.inline-before-analysis", "true"));
8579
}

0 commit comments

Comments
 (0)