In 2.5.1, the first call to ObjectMapper#canSerialize(Object.class) returns false.
However, it returns true from the second call.
It seems to be cause by cache mechanism in SerializerProvider class.
Sample code:
ObjectMapper mapper = new ObjectMapper();
System.out.println(mapper.canSerialize(Object.class));
System.out.println(mapper.canSerialize(Object.class));
System.out.println(mapper.canSerialize(Object.class));
output: