From d2022c238013345a21ae21f08e46eb0844a7011e Mon Sep 17 00:00:00 2001 From: humberto Date: Thu, 8 Feb 2024 20:09:52 +0100 Subject: [PATCH] Change default behavior of RegisterForReflection ignoreNested attribute to false. --- .../deployment/steps/RegisterForReflectionBuildStep.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/steps/RegisterForReflectionBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/steps/RegisterForReflectionBuildStep.java index 264350bb54b5c2..7deaf882534f90 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/steps/RegisterForReflectionBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/steps/RegisterForReflectionBuildStep.java @@ -50,7 +50,7 @@ public void build(CombinedIndexBuildItem combinedIndexBuildItem, Capabilities ca boolean methods = getBooleanValue(i, "methods"); boolean fields = getBooleanValue(i, "fields"); - boolean ignoreNested = getBooleanValue(i, "ignoreNested"); + boolean ignoreNested = i.value("ignoreNested") != null && i.value("ignoreNested").asBoolean(); boolean serialization = i.value("serialization") != null && i.value("serialization").asBoolean(); boolean unsafeAllocated = i.value("unsafeAllocated") != null && i.value("unsafeAllocated").asBoolean();