diff --git a/org.springframework.context/src/main/java/org/springframework/mapping/support/MappingConverter.java b/org.springframework.context/src/main/java/org/springframework/mapping/support/MappingConverter.java index 7baed727aa5..2e0cbdf6231 100644 --- a/org.springframework.context/src/main/java/org/springframework/mapping/support/MappingConverter.java +++ b/org.springframework.context/src/main/java/org/springframework/mapping/support/MappingConverter.java @@ -56,7 +56,7 @@ public final class MappingConverter implements GenericConverter { } private boolean isCopyByReference(TypeDescriptor sourceType, TypeDescriptor targetType) { - if (BeanUtils.isSimpleValueType(targetType.getType()) || Enum.class.isAssignableFrom(targetType.getType())) { + if (BeanUtils.isSimpleValueType(targetType.getType())) { return true; } else { return false;