Skip to content

Commit

Permalink
Fix #696 in 2.5(.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 6, 2015
1 parent 14d979d commit e4ece74
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ Project: jackson-databind
(reported by Ludevik@github)
#684: FAIL_ON_NUMBERS_FOR_ENUMS does not fail when integer value is quoted
(reported by kllp@github)
#696: Copy constructor does not preserve `_injectableValues`
(reported by Charles A)
- Add a work-around in `ISO8601DateFormat` to allow omission of ':' from timezone
- Bit more work to complete #633

Original file line number Diff line number Diff line change
@@ -412,6 +412,8 @@ protected ObjectMapper(ObjectMapper src)
_subtypeResolver = src._subtypeResolver;
_rootNames = new RootNameLookup();
_typeFactory = src._typeFactory;
_injectableValues = src._injectableValues;

HashMap<ClassKey,Class<?>> mixins = new HashMap<ClassKey,Class<?>>(src._mixInAnnotations);
_mixInAnnotations = mixins;
_serializationConfig = new SerializationConfig(src._serializationConfig, mixins);

0 comments on commit e4ece74

Please sign in to comment.