Skip to content

Commit

Permalink
Merge pull request quarkusio#34885 from gottarollwithit/main
Browse files Browse the repository at this point in the history
Fixed possible ConcurrentModificationException inside dev mode launcher
  • Loading branch information
gsmet authored Jul 20, 2023
2 parents 8edf2a4 + 5704924 commit 597874c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devtools/maven/src/main/java/io/quarkus/maven/DevMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,8 @@ private QuarkusDevModeLauncher newLauncher(Boolean debugPortOk, String bootstrap
}

// Add other properties that may be required for expansion
for (String value : effectiveProperties.values()) {
List<String> effectivePropertyValues = new ArrayList<>(effectiveProperties.values());
for (String value : effectivePropertyValues) {
for (String reference : Expression.compile(value, LENIENT_SYNTAX, NO_TRIM).getReferencedStrings()) {
String referenceValue = session.getUserProperties().getProperty(reference);
if (referenceValue != null) {
Expand Down

0 comments on commit 597874c

Please sign in to comment.