Fix native hints for JDK proxies generation
This commit is contained in:
@@ -51,8 +51,10 @@ public class CoreRuntimeHints implements RuntimeHintsRegistrar {
|
||||
|
||||
hints.proxies()
|
||||
.registerJdkProxy(builder -> builder
|
||||
.proxiedInterfaces(TypeReference.of("org.springframework.batch.core.repository.JobRepository"),
|
||||
TypeReference.of("org.springframework.batch.core.explore.JobExplorer"))
|
||||
.proxiedInterfaces(TypeReference.of("org.springframework.batch.core.repository.JobRepository"))
|
||||
.proxiedInterfaces(SpringProxy.class, Advised.class, DecoratingProxy.class))
|
||||
.registerJdkProxy(builder -> builder
|
||||
.proxiedInterfaces(TypeReference.of("org.springframework.batch.core.explore.JobExplorer"))
|
||||
.proxiedInterfaces(SpringProxy.class, Advised.class, DecoratingProxy.class));
|
||||
|
||||
hints.reflection().registerType(Types.class, MemberCategory.DECLARED_FIELDS);
|
||||
|
||||
Reference in New Issue
Block a user