RFR: 8366733: Re-examine older java.text NF, DF, and DFS serialization tests
Justin Lu
jlu at openjdk.org
Fri Sep 5 16:37:08 UTC 2025
On Fri, 5 Sep 2025 14:14:48 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Have you verified that the serialized streams in these new tests are identical to the hexformat versions?
I looked at the respective Serialization save files and what was being tested in the load files to determine the configuration of the replacement tests. I stepped through the tests with a debugger to make sure the data read from the stream that was being tested was accurate with what was indicated in the save file. I do not expect the streams themselves to be identical (since the new ones are mocked), but rather the invariants being tested should be the same.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27108#issuecomment-3258975202
More information about the core-libs-dev
mailing list