Move off deprecated API in AOT support.
Closes #3305 Original pull request: #3307
This commit is contained in:
committed by
Mark Paluch
parent
033eba88e6
commit
cc344a1dd2
@@ -282,8 +282,7 @@ public class RepositoryRegistrationAotContribution implements BeanRegistrationAo
|
||||
|
||||
// Kotlin
|
||||
if (isKotlinCoroutineRepository(repositoryContext, repositoryInformation)) {
|
||||
contribution.getRuntimeHints().reflection().registerTypes(kotlinRepositoryReflectionTypeReferences(),
|
||||
hint -> hint.withMembers(MemberCategory.INTROSPECT_PUBLIC_METHODS));
|
||||
contribution.getRuntimeHints().reflection().registerTypes(kotlinRepositoryReflectionTypeReferences(), hint -> {});
|
||||
}
|
||||
|
||||
// Repository query methods
|
||||
|
||||
@@ -62,7 +62,7 @@ public class TypeContributor {
|
||||
if (type.isAnnotation() && filter.test((Class<? extends Annotation>) type)) {
|
||||
|
||||
contribution.getRuntimeHints().reflection().registerType(type,
|
||||
hint -> hint.withMembers(MemberCategory.INTROSPECT_PUBLIC_METHODS));
|
||||
hint -> {});
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user