mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Optimized Introspector.flushFromCaches calls to skip Object.class
Issue: SPR-11356
This commit is contained in:
+1
-1
@@ -295,7 +295,7 @@ public class CachedIntrospectionResults {
|
||||
Introspector.flushFromCaches(classToFlush);
|
||||
classToFlush = classToFlush.getSuperclass();
|
||||
}
|
||||
while (classToFlush != null);
|
||||
while (classToFlush != null && classToFlush != Object.class);
|
||||
}
|
||||
|
||||
if (logger.isTraceEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user