Searching for other potential places where ValueHolder might mess up Serializable classes, I found that org.hibernate.metamodel.source.internal.MetadataImpl could be affected as well.