mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 08:34:30 +02:00
8312078: [PPC] JcmdScale.java Failing on AIX
Reviewed-by: stuefe, tsteele
This commit is contained in:
parent
6446792327
commit
c1a3f143bf
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ void NMTDCmd::execute(DCmdSource source, TRAPS) {
|
|||
return;
|
||||
}
|
||||
|
||||
const char* scale_value = _scale.value();
|
||||
const char* scale_value = _scale.value() != nullptr ? _scale.value() : "(null)";
|
||||
size_t scale_unit = get_scale(scale_value);
|
||||
if (scale_unit == 0) {
|
||||
output()->print_cr("Incorrect scale value: %s", scale_value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue