8312078: [PPC] JcmdScale.java Failing on AIX
Reviewed-by: stuefe, tsteele
This commit is contained in:
parent
6446792327
commit
c1a3f143bf
@ -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…
Reference in New Issue
Block a user