<i18n dev> RFR: 8367031: Regression in serialization of LocalDate class objects

David Lloyd dmlloyd at openjdk.org
Wed Sep 17 14:11:58 UTC 2025


On Wed, 17 Sep 2025 13:39:18 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> This reverts commit 4ced4e73fc0a517df826860839681004bb67e624.
> 
> Restore the previous field types to maintain compatibility with previous releases of the serialized form 
> of classes of java.time. 
> The classes reverted are LocalDate, MonthDay, YearMonth, and HijrahDate.

Would it not have been sufficient to add a `serialPersistentFields` which defines the fields as their "old" types?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27346#issuecomment-3303186083


More information about the i18n-dev mailing list