From 50951e59ce7631876f8fbbd2443d954f9e8dc917 Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Tue, 12 May 2020 08:55:27 +0300 Subject: [PATCH] Bring back DotName ctor for ReflectiveHierarchyIgnoreWarningBuildItem This is done because there are extension extensions that depend on it Fixes: #8893 --- .../ReflectiveHierarchyIgnoreWarningBuildItem.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyIgnoreWarningBuildItem.java b/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyIgnoreWarningBuildItem.java index 4ca9c78ae242d..a9da7251237ce 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyIgnoreWarningBuildItem.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/builditem/nativeimage/ReflectiveHierarchyIgnoreWarningBuildItem.java @@ -14,6 +14,11 @@ public final class ReflectiveHierarchyIgnoreWarningBuildItem extends MultiBuildI private final Predicate predicate; + // used by external extensions + public ReflectiveHierarchyIgnoreWarningBuildItem(DotName dotName) { + this.predicate = new DotNameExclusion(dotName); + } + public ReflectiveHierarchyIgnoreWarningBuildItem(Predicate predicate) { this.predicate = predicate; }