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

Chris Hegarty chegar at openjdk.java.net
Thu Mar 18 16:03:37 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.

Marked as reviewed by chegar (Reviewer).

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

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


More information about the core-libs-dev mailing list