File tree 2 files changed +9
-7
lines changed
src/test/java/com/fasterxml/jackson/databind/node
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ Project: jackson-databind
6
6
7
7
(not yet released)
8
8
9
+ #1770 : Incorrect deserialization for `BigDecimal` numbers
10
+ (reported by @cristian-mocanu-mob)
11
+ (fix contributed by @pjfanning)
9
12
#4184 : `BeanDeserializer` updates `currentValue` incorrectly when
10
13
deserialising empty Object
11
14
(reported by @nocny-x)
Original file line number Diff line number Diff line change 1
- package com .fasterxml .jackson .databind ;
1
+ package com .fasterxml .jackson .databind .node ;
2
+
3
+ import java .math .BigDecimal ;
2
4
3
5
import com .fasterxml .jackson .core .JsonFactory ;
4
6
import com .fasterxml .jackson .core .json .JsonReadFeature ;
5
- import com .fasterxml .jackson .databind .json .JsonMapper ;
6
7
7
- import java .math .BigDecimal ;
8
+ import com .fasterxml .jackson .databind .*;
9
+ import com .fasterxml .jackson .databind .json .JsonMapper ;
8
10
9
- /**
10
- * Basic tests for {@link JsonNode} implementations that
11
- * contain numeric values.
12
- */
11
+ // Tests for [databind#1770]
13
12
public class NumberNodes1770Test extends BaseMapTest
14
13
{
15
14
private final ObjectMapper MAPPER = newJsonMapper ();
You can’t perform that action at this time.
0 commit comments