It seems to me that this was a mistake introduced here https://github.com/FasterXML/jackson-databind/pull/4254/files/ _Originally posted by @migmruiz in https://github.com/FasterXML/jackson-databind/pull/4254#discussion_r1522832980_