8273342: Null pointer dereference in classFileParser.cpp:2817

Reviewed-by: coleenp, dholmes
This commit is contained in:
Harold Seigel 2021-10-05 12:39:56 +00:00
parent a5080effc7
commit 8609ea55ac

View File

@ -55,7 +55,7 @@ Symbol* fieldDescriptor::generic_signature() const {
}
}
assert(false, "should never happen");
return NULL;
return vmSymbols::void_signature(); // return a default value (for code analyzers)
}
bool fieldDescriptor::is_trusted_final() const {