mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8313087: DerValue::toString should output a hex view of the values in byte array
Reviewed-by: mullan
This commit is contained in:
parent
74121930e3
commit
830413f19a
1 changed files with 2 additions and 1 deletions
|
@ -1133,7 +1133,8 @@ public class DerValue {
|
|||
@Override
|
||||
public String toString() {
|
||||
return String.format("DerValue(%02x, %s, %d, %d)",
|
||||
0xff & tag, buffer, start, end);
|
||||
0xff & tag, HexFormat.of().withUpperCase().formatHex(buffer),
|
||||
start, end);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue