diff --git a/core/src/main/java/org/eclipse/krazo/cdi/types/AnnotatedTypeProcessor.java b/core/src/main/java/org/eclipse/krazo/cdi/types/AnnotatedTypeProcessor.java index 2b2c6be6..fe76930d 100644 --- a/core/src/main/java/org/eclipse/krazo/cdi/types/AnnotatedTypeProcessor.java +++ b/core/src/main/java/org/eclipse/krazo/cdi/types/AnnotatedTypeProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, 2019 Eclipse Krazo committers and contributors + * Copyright (c) 2018, 2025 Eclipse Krazo committers and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -94,10 +94,12 @@ private boolean isHibernateValidatorMarkerAnnotation(Class clazz) { /* * May be one of these classes depending on the exact Hibernate Validator version: * org.hibernate.validator.cdi.internal.interceptor.MethodValidated + * org.hibernate.validator.cdi.interceptor.internal.MethodValidated * org.hibernate.validator.internal.cdi.interceptor.MethodValidated */ return clazz.getName().startsWith("org.hibernate.validator.") - && clazz.getName().endsWith(".interceptor.MethodValidated"); + && (clazz.getName().endsWith(".interceptor.MethodValidated") + || clazz.getName().endsWith(".interceptor.internal.MethodValidated")); } }