@@ -246,14 +246,6 @@ public NativeImageBuildItem build(NativeConfig nativeConfig, LocalesBuildTimeCon
246
246
checkGraalVMVersion (graalVMVersion );
247
247
248
248
try {
249
- if (nativeConfig .cleanupServer ()) {
250
- log .warn (
251
- "Your application is setting the deprecated 'quarkus.native.cleanup-server' configuration key"
252
- + " to true. Please consider removing this configuration key as it is ignored"
253
- + " (The Native image build server is always disabled) and it will be removed in a"
254
- + " future Quarkus version." );
255
- }
256
-
257
249
NativeImageInvokerInfo commandAndExecutable = new NativeImageInvokerInfo .Builder ()
258
250
.setNativeConfig (nativeConfig )
259
251
.setLocalesBuildTimeConfig (localesBuildTimeConfig )
@@ -717,7 +709,6 @@ public Builder setNativeMonitoringOptions(List<NativeMonitoringBuildItem> option
717
709
public NativeImageInvokerInfo build () {
718
710
List <String > nativeImageArgs = new ArrayList <>();
719
711
boolean enableSslNative = false ;
720
- boolean inlineBeforeAnalysis = nativeConfig .inlineBeforeAnalysis ();
721
712
boolean addAllCharsets = nativeConfig .addAllCharsets ();
722
713
boolean enableHttpsUrlHandler = nativeConfig .enableHttpsUrlHandler ();
723
714
for (NativeImageSystemPropertyBuildItem prop : nativeImageProperties ) {
@@ -735,8 +726,6 @@ public NativeImageInvokerInfo build() {
735
726
+ " will be removed in a future Quarkus version." );
736
727
} else if (prop .getKey ().equals ("quarkus.native.enable-all-charsets" ) && prop .getValue () != null ) {
737
728
addAllCharsets |= Boolean .parseBoolean (prop .getValue ());
738
- } else if (prop .getKey ().equals ("quarkus.native.inline-before-analysis" ) && prop .getValue () != null ) {
739
- inlineBeforeAnalysis = Boolean .parseBoolean (prop .getValue ());
740
729
} else {
741
730
// todo maybe just -D is better than -J-D in this case
742
731
if (prop .getValue () == null ) {
@@ -922,29 +911,13 @@ public NativeImageInvokerInfo build() {
922
911
if (!protocols .isEmpty ()) {
923
912
nativeImageArgs .add ("--enable-url-protocols=" + String .join ("," , protocols ));
924
913
}
925
- if (!inlineBeforeAnalysis ) {
926
- addExperimentalVMOption (nativeImageArgs , "-H:-InlineBeforeAnalysis" );
927
- }
928
914
if (!pie .isEmpty ()) {
929
915
nativeImageArgs .add ("-H:NativeLinkerOption=" + pie );
930
916
}
931
917
932
918
if (!nativeConfig .enableIsolates ()) {
933
919
addExperimentalVMOption (nativeImageArgs , "-H:-SpawnIsolates" );
934
920
}
935
- if (!nativeConfig .enableJni ()) {
936
- log .warn (
937
- "Your application is setting the deprecated 'quarkus.native.enable-jni' configuration key to false."
938
- + " Please consider removing this configuration key as it is ignored (JNI is always enabled) and it"
939
- + " will be removed in a future Quarkus version." );
940
- }
941
- if (nativeConfig .enableServer ()) {
942
- log .warn (
943
- "Your application is setting the deprecated 'quarkus.native.enable-server' configuration key to true."
944
- + " Please consider removing this configuration key as it is ignored"
945
- + " (The Native image build server is always disabled) and it"
946
- + " will be removed in a future Quarkus version." );
947
- }
948
921
if (nativeConfig .enableVmInspection ()) {
949
922
addExperimentalVMOption (nativeImageArgs , "-H:+AllowVMInspection" );
950
923
}
@@ -1000,14 +973,6 @@ public NativeImageInvokerInfo build() {
1000
973
} else {
1001
974
addExperimentalVMOption (nativeImageArgs , "-H:-UseServiceLoaderFeature" );
1002
975
}
1003
- // This option has no effect on GraalVM 23.1+
1004
- if (graalVMVersion .compareTo (GraalVM .Version .VERSION_23_1_0 ) < 0 ) {
1005
- if (nativeConfig .fullStackTraces ()) {
1006
- nativeImageArgs .add ("-H:+StackTrace" );
1007
- } else {
1008
- nativeImageArgs .add ("-H:-StackTrace" );
1009
- }
1010
- }
1011
976
1012
977
if (nativeConfig .enableDashboardDump ()) {
1013
978
addExperimentalVMOption (nativeImageArgs ,
0 commit comments