Integrated: 8263320: [test] Add Object Stream Formatter to work with test utility HexPrinter

Roger Riggs rriggs at openjdk.java.net
Thu Mar 18 21:29:41 UTC 2021


On Tue, 9 Mar 2021 21:37:16 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> ObjectStreamPrinter is a Formatter plugin to the test library HexPrinter.
> 
> A binary stream of serialized java objects is converted into a textual form by parsing the header, typecodes, and interpreting the stream contents. The formatter can be used standalone or with the HexPrinter to align the formatted stream with the corresponding hexadecimal bytes.
> 
> StreamDump is a test utility to pass the contents of a file to the HexPrinter utility. The format of the file is guessed from the encoding and initial bytes. ASN.1 and serialized object streams are supported.

This pull request has now been integrated.

Changeset: 788e30c1
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/788e30c1
Stats:     1684 lines in 4 files changed: 1684 ins; 0 del; 0 mod

8263320: [test] Add Object Stream Formatter to work with test utility HexPrinter

Reviewed-by: chegar

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

PR: https://git.openjdk.java.net/jdk/pull/2900


More information about the core-libs-dev mailing list