You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When JavaTimeFeature.ONE_BASED_MONTHS is in effect, I expect to convert strings "1" to Month.JANUARY ... "12" to Month.DECEMBER. For values 1-11 it works, but "12" raises error.
The cause is that com.fasterxml.jackson.datatype.jsr310.deser.OneBasedMonthDeserializer first invokes the original, 0-based deserializer and then it tweaks its output with zeroBaseMonth.minus(1). The original deserializer can handle values "0" to "11", but "12" is obviously out of range.