When I debugged the spring source code, I discovered a strange problem: As shown in the figure, before the getInterfaces() method is called in the for loop, generics is still null, but after entering the getInterfaces() method, it is still in the first line, then generics has a value again.
before entering the getInterfaces() method:
after entering the getInterfaces() method:
Comment From: bclozel
Thanks for getting in touch, but it feels like this is a question that would be better suited to StackOverflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.