From d81ac0366413b04f3a133a265c2775ec792fbc9d Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Tue, 15 Aug 2023 23:22:55 +0200 Subject: [PATCH] fix: prevent StackOverflowError in QuarkusConfigMappingProvider.populateConfigObject Signed-off-by: Fred Bricon --- .../quarkus/core/properties/QuarkusConfigMappingProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/redhat/microprofile/psi/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java b/src/main/java/com/redhat/microprofile/psi/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java index e928b3e65..a77738b10 100644 --- a/src/main/java/com/redhat/microprofile/psi/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java +++ b/src/main/java/com/redhat/microprofile/psi/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java @@ -214,7 +214,7 @@ private void populateConfigObject(PsiClass configMappingType, String prefixStr, PsiQuarkusUtils.updateConverterKinds(metadata, method, enclosedType); } else { // Other type (App, etc) - populateConfigObject(returnType, propertyName, extensionName, new HashSet<>(), + populateConfigObject(returnType, propertyName, extensionName, typesAlreadyProcessed, configMappingAnnotation, collector); } }