mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
6930553: classfile format checker allows invalid method descriptor in CONSTANT_NameAndType_info in some cases
Check NameAndType_info signatures aggressively, even when unreferenced Reviewed-by: coleenp, acorn, never
This commit is contained in:
parent
d2703f3e8d
commit
211a79fc65
2 changed files with 55 additions and 21 deletions
|
@ -195,6 +195,9 @@ class ClassFileParser VALUE_OBJ_CLASS_SPEC {
|
|||
if (!b) { classfile_parse_error(msg, index, name, CHECK); }
|
||||
}
|
||||
|
||||
void throwIllegalSignature(
|
||||
const char* type, symbolHandle name, symbolHandle sig, TRAPS);
|
||||
|
||||
bool is_supported_version(u2 major, u2 minor);
|
||||
bool has_illegal_visibility(jint flags);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue