7030388: JCK test failed to reject invalid class check01304m10n

Restrict fix for 7020118 to only when checking exception handlers

Reviewed-by: dcubed, dholmes
This commit is contained in:
Keith McGuigan 2011-03-31 08:08:50 -04:00
parent cf3120dddc
commit 727612ede9
3 changed files with 11 additions and 5 deletions

View file

@ -134,7 +134,8 @@ class StackMapFrame : public ResourceObj {
void copy_stack(const StackMapFrame* src);
// Return true if this stack map frame is assignable to target.
bool is_assignable_to(const StackMapFrame* target, TRAPS) const;
bool is_assignable_to(const StackMapFrame* target,
bool is_exception_handler, TRAPS) const;
// Push type into stack type array.
inline void push_stack(VerificationType type, TRAPS) {