RFR 15: 8243010: Test support: Customizable Hex Printer (and security test updates)
Weijun Wang
weijun.wang at oracle.com
Sat Apr 25 00:59:51 UTC 2020
Everything in the security tests looks fine to me.
Thanks,
Max
> On Apr 25, 2020, at 1:03 AM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
>
> To correct an oversight to include security-dev in the reviews...
> Several security tests were modified to use the HexPrinter instead of HexDumpEncoder.
>
>
> Please review[2] and comment on a new Hex printing utility to support OpenJDK tests.
> The usefulness of a hex printing has been discussed from time to time with
> many suggestions as to the API shape and features.
>
> To get an idea of the API and features, take a look at the javadoc[1].
> It covers the basic formatting of offset, and values, and extends the
> descriptive part beyond simple ASCII or printable so that a custom formatter
> can interpret the byte stream in parallel to the bytes.
>
> The webrev includes changes to existing tests that currently
> use HexDumpEncoder to use HexPrinter.
>
> Comments appreciated, Roger
>
> [1]Javadoc:
> http://cr.openjdk.java.net/~rriggs/webrev-hexprinter-8243010/javadoc
>
> [2] Webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-hexprinter-8243010/
>
> [3] Issue:
> https://bugs.openjdk.java.net/browse/JDK-8243010
More information about the security-dev
mailing list