You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change in e788aeb has surfaced an issue with handling of types with self-bounding generics in ResolvableType. I already commented on the original PR (#30079), just capturing it here for visibility. The following test cases will triggers infinite recursion / stack overflow:
enumFoo { BAR }
ResolvableType.forType(Foo.class.getGenericSuperclass()).hasUnresolvableGenerics();
// orResolvableType.forClassWithGenerics(Enum.class, Foo.class).hasUnresolvableGenerics();
The change in e788aeb has surfaced an issue with handling of types with self-bounding generics in
ResolvableType.
I already commented on the original PR (#30079), just capturing it here for visibility. The following test cases will triggers infinite recursion / stack overflow:This happens during app start up in a typical Spring Boot app, due to events such as
AvailabilityChangeEvent<LivenessState>
being emitted.The text was updated successfully, but these errors were encountered: