From e37a9d57669c1ce66e204980f73c49107db96f10 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Mon, 4 Sep 2023 12:41:54 +0300 Subject: [PATCH] Ignore reflection warnings for built-in Kotlin classes Fixes: #35504 --- .../builditem/nativeimage/ReflectiveHierarchyBuildItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyBuildItem.java b/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyBuildItem.java index c75ec59494ed85..e57ab2bad2c0ef 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyBuildItem.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyBuildItem.java @@ -209,7 +209,7 @@ public static class DefaultIgnoreTypePredicate implements Predicate { private static final List DEFAULT_IGNORED_PACKAGES = Arrays.asList("java.", "io.reactivex.", "org.reactivestreams.", "org.slf4j.", "jakarta.json.", "jakarta.json.", - "com.fasterxml.jackson.databind.", "io.vertx.core.json."); + "com.fasterxml.jackson.databind.", "io.vertx.core.json.", "kotlin."); // if this gets more complicated we will need to move to some tree like structure static final Set ALLOWED_FROM_IGNORED_PACKAGES = new HashSet<>( Arrays.asList("java.math.BigDecimal", "java.math.BigInteger"));