Skip to content

Commit 4aceaa7

Browse files
committed
Merge branch '2.8'
2 parents b8b8303 + 752bb8a commit 4aceaa7

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

release-notes/VERSION

+4
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,10 @@ Project: jackson-databind
266266
#1277: Add caching of resolved generic types for `TypeFactory`
267267
(requested by Andriy P)
268268

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)
269273

270274
2.7.9 (04-Feb-2017)
271275

src/main/java/com/fasterxml/jackson/databind/ext/OptionalHandlerFactory.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
package com.fasterxml.jackson.databind.ext;
22

3+
import java.util.logging.Logger;
4+
import java.util.logging.Level;
5+
36
import com.fasterxml.jackson.databind.*;
47
import com.fasterxml.jackson.databind.deser.Deserializers;
58
import com.fasterxml.jackson.databind.ser.Serializers;
@@ -50,7 +53,8 @@ public class OptionalHandlerFactory implements java.io.Serializable
5053
doc = org.w3c.dom.Document.class;
5154
} catch (Exception e) {
5255
// 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");
5458
}
5559
CLASS_DOM_NODE = node;
5660
CLASS_DOM_DOCUMENT = doc;

0 commit comments

Comments
 (0)