(test) HexPrinter cleanup

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: 15
    • Component/s: other-libs
    • b27

        Correct issues with the test support for jdk.test.lib.hexdump.HexPrinter.
         - Correct the swapped definitions of ASCII and PRINTABLE
           Printable should always return a single character,
           ASCII provides mnemonics to be consistent with the command line hexdump.

         - For the methods to format ByteBuffers align the descriptions of the index and length to match ByteBuffer.

         - Correctly implement the extraction of bytes from the ByteBuffer

         - a newline in the annotation should print as '\n' instead of causing a line break

              Assignee:
              Roger Riggs
              Reporter:
              Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: