Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-9712: Catch and handle exception thrown by reflections scanner (#…
…8289) This commit works around a bug in version v0.9.12 of the upstream `reflections` library by catching and handling the exception thrown. The reflections issue is tracked by: ronmamo/reflections#273 New unit tests were introduced to test the behavior. * KAFKA-9712: Catch and handle exception thrown by reflections scanner * Update connect/runtime/src/main/java/org/apache/kafka/connect/runtime/isolation/DelegatingClassLoader.java Co-Authored-By: Konstantine Karantasis <konstantine@confluent.io> * Move result initialization back to right before it is used * Use `java.io.File` in tests * Fix checkstyle Co-authored-by: Konstantine Karantasis <konstantine@confluent.io> Reviewers: Konstantine Karantasis <konstantine@confluent.io>, Chia-Ping Tsai <chia7712@gmail.com>
- Loading branch information
Showing
2 changed files
with
78 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters