Skip to content

Commit

Permalink
HHH-16572 super class checking change
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Marlow <[email protected]>
  • Loading branch information
scottmarlow committed Oct 24, 2024
1 parent 1fa3240 commit 26e7958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private boolean unsupportedEnhancement(TypeDescription managedCtClass) {
}

TypeDescription.Generic superclass = managedCtClass.getSuperClass();
while ( superclass != null) {
while ( superclass != null && superclass.getSuperClass() != null) {
// Check for use of ID/AccessType(PROPERTY) on methods
for (MethodDescription.InGenericShape shape : superclass.getDeclaredMethods()) {
AnnotationDescription.Loadable<Access> access = shape.getDeclaredAnnotations().ofType(Access.class);
Expand Down

0 comments on commit 26e7958

Please sign in to comment.