On Thu, 20 Apr 2023 16:06:36 GMT, Lance Andersen <lan...@openjdk.org> wrote:

> The original version of this test was validating serialization compatibility 
> with previous releases.
> 
> The current changes seems to have removed that validation in the re-write of 
> the test
> 
> One option is to convert the various *.ser files to a byte array and have the 
> test write them out or read them from a stream to do the validation

Good point. You can also base64-encode the bytes into a string - here is an 
example:
https://github.com/openjdk/jdk/blob/master/test/jdk/java/util/logging/HigherResolutionTimeStamps/SerializeLogRecord.java

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

PR Comment: https://git.openjdk.org/jdk/pull/13537#issuecomment-1516611679

Reply via email to