| In AnnotationMetaDataProvider.findConstraintAnnotations(Member member,A annotation, ElementType type) Doing annotation.annotationType().getPackage().getName().equals( "jdk.internal" ) precludes the possibility of having an annotation in the default package. Obviously not giving your annotation a package is poor style, but this fails really really opaquely. |