From 2be29a3628711e829aa99fd8fcf9a67432a888c9 Mon Sep 17 00:00:00 2001 From: Roland Grunberg Date: Tue, 22 Aug 2023 15:32:04 -0400 Subject: [PATCH] Prevent StackOverflow by passing types processed in recursive call. Signed-off-by: Roland Grunberg --- .../quarkus/core/properties/QuarkusConfigMappingProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java b/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java index 5b0f78e54..d27a5747f 100644 --- a/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java +++ b/quarkus.jdt.ext/com.redhat.microprofile.jdt.quarkus/src/main/java/com/redhat/microprofile/jdt/internal/quarkus/core/properties/QuarkusConfigMappingProvider.java @@ -211,7 +211,7 @@ private void populateConfigObject(IType configMappingType, String prefixStr, Str JDTQuarkusUtils.updateConverterKinds(metadata, method, enclosedType); } else { // Other type (App, etc) - populateConfigObject(returnType, propertyName, extensionName, new HashSet<>(), + populateConfigObject(returnType, propertyName, extensionName, typesAlreadyProcessed, configMappingAnnotation, collector, monitor); } }