diff --git a/src/hotspot/share/code/debugInfo.cpp b/src/hotspot/share/code/debugInfo.cpp index 5a420fd8a14..b66f396e1ad 100644 --- a/src/hotspot/share/code/debugInfo.cpp +++ b/src/hotspot/share/code/debugInfo.cpp @@ -277,7 +277,7 @@ void ConstantOopReadValue::print_on(outputStream* st) const { if (value()() != nullptr) { value()()->print_value_on(st); } else { - st->print("nullptr"); + st->print("null"); } }