File tree 2 files changed +9
-1
lines changed
src/main/java/com/fasterxml/jackson/databind/ext
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,10 @@ Project: jackson-databind
266
266
#1277: Add caching of resolved generic types for `TypeFactory`
267
267
(requested by Andriy P)
268
268
269
+ 2.7.10 (not yet released)
270
+
271
+ #1628: Don't print to error stream about failure to load JDK 7 types
272
+ (reported by Villane@github)
269
273
270
274
2.7.9 (04-Feb-2017)
271
275
Original file line number Diff line number Diff line change 1
1
package com .fasterxml .jackson .databind .ext ;
2
2
3
+ import java .util .logging .Logger ;
4
+ import java .util .logging .Level ;
5
+
3
6
import com .fasterxml .jackson .databind .*;
4
7
import com .fasterxml .jackson .databind .deser .Deserializers ;
5
8
import com .fasterxml .jackson .databind .ser .Serializers ;
@@ -50,7 +53,8 @@ public class OptionalHandlerFactory implements java.io.Serializable
50
53
doc = org .w3c .dom .Document .class ;
51
54
} catch (Exception e ) {
52
55
// not optimal but will do
53
- System .err .println ("WARNING: could not load DOM Node and/or Document classes" );
56
+ Logger .getLogger (OptionalHandlerFactory .class .getName ())
57
+ .log (Level .INFO , "Could not load DOM `Node` and/or `Document` classes: no DOM support" );
54
58
}
55
59
CLASS_DOM_NODE = node ;
56
60
CLASS_DOM_DOCUMENT = doc ;
You can’t perform that action at this time.
0 commit comments