Skip to content

Commit 8609ea5

Browse files
author
Harold Seigel
committed
8273342: Null pointer dereference in classFileParser.cpp:2817
Reviewed-by: coleenp, dholmes
1 parent a5080ef commit 8609ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/runtime/fieldDescriptor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Symbol* fieldDescriptor::generic_signature() const {
5555
}
5656
}
5757
assert(false, "should never happen");
58-
return NULL;
58+
return vmSymbols::void_signature(); // return a default value (for code analyzers)
5959
}
6060

6161
bool fieldDescriptor::is_trusted_final() const {

0 commit comments

Comments
 (0)