Skip to content

Commit

Permalink
Post-commit fixes to #1770
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Nov 8, 2023
1 parent 636f1b3 commit 3a271be
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Project: jackson-databind

(not yet released)

#1770: Incorrect deserialization for `BigDecimal` numbers
(reported by @cristian-mocanu-mob)
(fix contributed by @pjfanning)
#4184: `BeanDeserializer` updates `currentValue` incorrectly when
deserialising empty Object
(reported by @nocny-x)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package com.fasterxml.jackson.databind;
package com.fasterxml.jackson.databind.node;

import java.math.BigDecimal;

import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.json.JsonReadFeature;
import com.fasterxml.jackson.databind.json.JsonMapper;

import java.math.BigDecimal;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.json.JsonMapper;

/**
* Basic tests for {@link JsonNode} implementations that
* contain numeric values.
*/
// Tests for [databind#1770]
public class NumberNodes1770Test extends BaseMapTest
{
private final ObjectMapper MAPPER = newJsonMapper();
Expand Down

0 comments on commit 3a271be

Please sign in to comment.