diff --git a/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/scanning/ResteasyReactiveInterceptorScanner.java b/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/scanning/ResteasyReactiveInterceptorScanner.java index 2e63e5576af73..c9af2ce7968ac 100644 --- a/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/scanning/ResteasyReactiveInterceptorScanner.java +++ b/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/scanning/ResteasyReactiveInterceptorScanner.java @@ -1,5 +1,6 @@ package org.jboss.resteasy.reactive.common.processor.scanning; +import java.lang.reflect.Modifier; import java.util.Collection; import java.util.HashSet; import java.util.Set; @@ -84,6 +85,9 @@ public static void scanForIOInterceptors(ResourceInterceptors interceptors, Inde private static void handleDiscoveredInterceptor( ApplicationScanningResult applicationResultBuildItem, InterceptorContainer interceptorContainer, IndexView index, ClassInfo filterClass) { + if (Modifier.isAbstract(filterClass.flags())) { + return; + } ApplicationScanningResult.KeepProviderResult keepProviderResult = applicationResultBuildItem.keepProvider(filterClass); if (keepProviderResult != ApplicationScanningResult.KeepProviderResult.DISCARD) { ResourceInterceptor interceptor = interceptorContainer.create();