From 561da5c88c373c42668bc0370dcb625e30fc02b5 Mon Sep 17 00:00:00 2001 From: "David M. Lloyd" Date: Tue, 7 May 2024 08:06:04 -0500 Subject: [PATCH] Disable native when dev mode is used Fixes #40495 (cherry picked from commit 5370e591e5684ff782b90f5e5faa9fc968f01bea) --- .../java/io/quarkus/deployment/mutability/ReaugmentTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/mutability/ReaugmentTask.java b/core/deployment/src/main/java/io/quarkus/deployment/mutability/ReaugmentTask.java index 6037be04cd1da..1dff627633358 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/mutability/ReaugmentTask.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/mutability/ReaugmentTask.java @@ -55,6 +55,7 @@ public void accept(Path path) { final ApplicationModel existingModel = appModel.getAppModel(appRoot); System.setProperty("quarkus.package.jar.type", "mutable-jar"); + System.setProperty("quarkus.native.enabled", "false"); try (CuratedApplication bootstrap = QuarkusBootstrap.builder() .setAppArtifact(existingModel.getAppArtifact()) .setExistingModel(existingModel)