Mercurial > hg > graal-compiler
diff src/share/vm/classfile/classFileParser.hpp @ 1586:086d73ccd6c0
6930553: classfile format checker allows invalid method descriptor in CONSTANT_NameAndType_info in some cases
Summary: Check NameAndType_info signatures aggressively, even when unreferenced
Reviewed-by: coleenp, acorn, never
author | kamg |
---|---|
date | Thu, 27 May 2010 17:06:39 -0400 |
parents | 26b774d693aa |
children | 3a9de63b2209 |
line wrap: on
line diff
--- a/src/share/vm/classfile/classFileParser.hpp Wed May 26 14:16:55 2010 -0700 +++ b/src/share/vm/classfile/classFileParser.hpp Thu May 27 17:06:39 2010 -0400 @@ -195,6 +195,9 @@ 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);