HV-1049 prevents annotations in the default package working

Description

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.

Environment

5.2.3.Final

Status

Assignee

Gunnar Morling

Reporter

Phil Standen

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure