Hello, in the implementation of the getClassHierarchy method in GenericConversionService: if (Enum.class.isAssignableFrom(type)) { addToClassHierarchy(hierarchy.size(), Enum.class, array, hierarchy, visited); addToClassHierarchy(hierarchy.size(), Enum.class, false, hierarchy, visited); addInterfacesToClassHierarchy(Enum.class, array, hierarchy, visited); } Why is addToClassHierarchy called twice, once with the variable array and once with false? In fact, when this if condition is met, array is always false. What is the significance of calling it twice here? This issue exists in Spring 4.1.x and later versions.

Spring Analysis of the Duplicate Calls to addToClassHierarchy in the getClassHierarchy Method

Comment From: jhoeller

Good point, that second call is superfluous indeed. We'll simply remove it.