Skip to content

Commit

Permalink
Hibernate Search extension: fix reflection not being enabled on super…
Browse files Browse the repository at this point in the history
…types
  • Loading branch information
yrodiere committed Feb 24, 2020
1 parent 6ee11ee commit 9bd15e5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ private static void addReflectiveClass(IndexView index, Set<DotName> reflectiveC

Type superClassType = classInfo.superClassType();
while (superClassType != null && !superClassType.name().toString().equals("java.lang.Object")) {
reflectiveClassCollector.add(superClassType.name());
if (superClassType instanceof ClassType) {
superClassType = index.getClassByName(superClassType.name()).superClassType();
} else if (superClassType instanceof ParameterizedType) {
Expand Down

0 comments on commit 9bd15e5

Please sign in to comment.