Skip to content

Commit

Permalink
Fixed possible ConcurrentModificationError during mapping other prope…
Browse files Browse the repository at this point in the history
…rties that may be required for expansion

(cherry picked from commit 5704924)
  • Loading branch information
samet-sqills authored and gsmet committed Jul 20, 2023
1 parent 6fa2c52 commit 2819921
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 2819921

Please sign in to comment.