spring-framework/spring-core
Sébastien Deleuze dbbebf541d Refine reflection hints handling for anonymous class
Before this commit, anonymous classes could throw an
unexpected NullPointerException in
ReflectionsHint#registerType and lambdas entries could
be created in the related generated reflect-config.json.

This commit refines how anonymous classes are handled by
explicitly checking for null class and canonical name in
ReflectionTypeReference#of, while skipping such class in
ReflectionHints#registerType in order to keep a lenient
behavior.

Closes gh-29774
2023-03-01 15:41:30 +01:00
..
src Refine reflection hints handling for anonymous class 2023-03-01 15:41:30 +01:00
spring-core.gradle Add unit tests for CoroutinesUtils 2023-02-21 10:20:00 +01:00