src/share/vm/classfile/classFileParser.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/classfile/classFileParser.hpp

src/share/vm/classfile/classFileParser.hpp

Print this page
rev 1449 : 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:

*** 193,202 **** --- 193,205 ---- } inline void guarantee_property(bool b, const char* msg, int index, const char *name, TRAPS) { 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); void verify_constantvalue(int constantvalue_index, int signature_index, constantPoolHandle cp, TRAPS); void verify_legal_utf8(const unsigned char* buffer, int length, TRAPS);
src/share/vm/classfile/classFileParser.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File