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. ------------- Commit messages: - 8263320: [test] Add Object Stream Formatter to work with test utility HexPrinter Changes: https://git.openjdk.java.net/jdk/pull/2900/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2900&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8263320 Stats: 1684 lines in 4 files changed: 1684 ins; 0 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/2900.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/2900/head:pull/2900 PR: https://git.openjdk.java.net/jdk/pull/2900