File tree 3 files changed +18
-6
lines changed
datetime/src/main/java/com/fasterxml/jackson/datatype/jsr310
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 23
23
* Utilities to aid in the translation of decimal types to/from multiple parts.
24
24
*
25
25
* @author Nick Williams
26
- * @since 2.2.0
26
+ * @since 2.2
27
27
*/
28
28
public final class DecimalUtils
29
29
{
30
30
private static final BigDecimal ONE_BILLION = new BigDecimal (1_000_000_000L );
31
31
32
- private DecimalUtils ()
33
- {
34
- throw new RuntimeException ("DecimalUtils cannot be instantiated." );
35
- }
32
+ private DecimalUtils () { }
36
33
37
34
public static String toDecimal (long seconds , int nanoseconds )
38
35
{
Original file line number Diff line number Diff line change @@ -38,5 +38,14 @@ Sonny Gill (sonnygill@github)
38
38
(2.9.6 )
39
39
40
40
Adrian Palanques (devdevx@github)
41
- #78 : Year deserialization ignores `@JsonFormat` pattern
41
+ * Reported #78 : (datetime) Year deserialization ignores `@JsonFormat` pattern
42
42
(2.9.7 )
43
+
44
+ Andriy Plokhotnyuk (plokhotnyuk@github)
45
+ * Reported #90 (datetime) : Performance issue with malicious `BigDecimal` input,
46
+ `InstantDeserializer`, `DurationDeserializer`
47
+ (2.9.8 )
48
+
49
+ Todd Jonker (toddjonker@github)
50
+ * Contributed fix for #90 (see above)
51
+ (2.9.8 )
Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ Modules:
8
8
=== Releases ===
9
9
------------------------------------------------------------------------
10
10
11
+ 2.9.8 (not yet released)
12
+
13
+ #90 (datetime): Performance issue with malicious `BigDecimal` input,
14
+ `InstantDeserializer`, `DurationDeserializer`
15
+ (reported by Andriy P, fix contributed by Todd J)
16
+
11
17
2.9.7 (19 -Sep-2018 )
12
18
13
19
#78 : Year deserialization ignores `@JsonFormat` pattern
You can’t perform that action at this time.
0 commit comments