From 8609ea55acdcc203408f58f7bf96ea9228aef613 Mon Sep 17 00:00:00 2001 From: Harold Seigel Date: Tue, 5 Oct 2021 12:39:56 +0000 Subject: [PATCH] 8273342: Null pointer dereference in classFileParser.cpp:2817 Reviewed-by: coleenp, dholmes --- src/hotspot/share/runtime/fieldDescriptor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/runtime/fieldDescriptor.cpp b/src/hotspot/share/runtime/fieldDescriptor.cpp index 83f31e05085..4e07a456bb0 100644 --- a/src/hotspot/share/runtime/fieldDescriptor.cpp +++ b/src/hotspot/share/runtime/fieldDescriptor.cpp @@ -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 {