From d0c359be5139a37f035bc8292017479de8fe3b1a Mon Sep 17 00:00:00 2001 From: Chris311 <32651279+Chris311@users.noreply.github.com> Date: Tue, 8 Mar 2022 22:06:25 +0100 Subject: [PATCH] List applicationRoot at the end among all modules In RuntimeUpdateProcessor:636 the first module to be traversed is always applicationRoot. Whenever a breaking change (e.g, a change in method signature) is made in another module, applicationRoot will always be compiled first. This will result in a compile error. ApplicationRoot should always be the last module to be compiled. --- .../src/main/java/io/quarkus/deployment/dev/DevModeContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/dev/DevModeContext.java b/core/deployment/src/main/java/io/quarkus/deployment/dev/DevModeContext.java index fa8e122d382e4..2416acf96aa91 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/dev/DevModeContext.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/dev/DevModeContext.java @@ -213,8 +213,8 @@ public void setArgs(String[] args) { public List getAllModules() { List ret = new ArrayList<>(); - ret.add(applicationRoot); ret.addAll(additionalModules); + ret.add(applicationRoot); return ret; }