Skip to content

Commit e4ece74

Browse files
committed
Fix #696 in 2.5(.1)
1 parent 14d979d commit e4ece74

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

release-notes/VERSION

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ Project: jackson-databind
1717
(reported by Ludevik@github)
1818
#684: FAIL_ON_NUMBERS_FOR_ENUMS does not fail when integer value is quoted
1919
(reported by kllp@github)
20+
#696: Copy constructor does not preserve `_injectableValues`
21+
(reported by Charles A)
2022
- Add a work-around in `ISO8601DateFormat` to allow omission of ':' from timezone
2123
- Bit more work to complete #633
2224

src/main/java/com/fasterxml/jackson/databind/ObjectMapper.java

+2
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,8 @@ protected ObjectMapper(ObjectMapper src)
412412
_subtypeResolver = src._subtypeResolver;
413413
_rootNames = new RootNameLookup();
414414
_typeFactory = src._typeFactory;
415+
_injectableValues = src._injectableValues;
416+
415417
HashMap<ClassKey,Class<?>> mixins = new HashMap<ClassKey,Class<?>>(src._mixInAnnotations);
416418
_mixInAnnotations = mixins;
417419
_serializationConfig = new SerializationConfig(src._serializationConfig, mixins);

0 commit comments

Comments
 (0)