On Fri, 5 Sep 2025 16:13:50 GMT, Naoto Sato <[email protected]> wrote:

> Although the existing tests are old and not run, I think the existing data 
> can be reused. You can create overload for `deSer()` for these and test them. 
> I believe they are the real serialized objects from the older releases, so I 
> believe testing them still have value.

The new tests mock these streams so that we could do away with relying on the 
hex dump files (which required a user to navigate to the unused save file to 
determine how the stream was created). What is being tested should be the same 
for the mocked stream and the original stream itself. However, if it is 
desirable to test the exact streams from older releases, I can bring the data 
files back and test their streams directly.

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

PR Comment: https://git.openjdk.org/jdk/pull/27108#issuecomment-3258986668

Reply via email to