I don't know what to make of this, whether its a bug or not - but I think its worth mentioning. If you serialize a java.util.Date object, this is what you get with gson 2.8.0 ...