Skip to content

Commit 7b9a0cb

Browse files
authored
Add ConfigFile Runtime Hint (for JAAS)
See `Configuration.getConfiguration()` which can use reflection to create an instance of this class.
1 parent eb77967 commit 7b9a0cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-kafka/src/main/java/org/springframework/kafka/aot/KafkaRuntimeHints.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022 the original author or authors.
2+
* Copyright 2022-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -198,6 +198,7 @@ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader)
198198
hints.proxies().registerJdkProxy(AopProxyUtils.completeJdkProxyInterfaces(Producer.class));
199199

200200
Stream.of(
201+
"sun.security.provider.ConfigFile",
201202
"org.apache.kafka.streams.processor.internals.StreamsPartitionAssignor",
202203
"org.apache.kafka.streams.errors.DefaultProductionExceptionHandler",
203204
"org.apache.kafka.streams.processor.FailOnInvalidTimestamp",

0 commit comments

Comments
 (0)