comparison src/share/vm/classfile/stackMapFrame.hpp @ 2472:7144a1d6e0a9

7030388: JCK test failed to reject invalid class check01304m10n. Summary: Restrict fix for 7020118 to only when checking exception handlers Reviewed-by: dcubed, dholmes
author kamg
date Thu, 31 Mar 2011 08:08:50 -0400
parents c1a6154012c8
children 3449f5e02cc4
comparison
equal deleted inserted replaced
2471:37be97a58393 2472:7144a1d6e0a9
132 132
133 // Copy stack type array in src into this stack type array. 133 // Copy stack type array in src into this stack type array.
134 void copy_stack(const StackMapFrame* src); 134 void copy_stack(const StackMapFrame* src);
135 135
136 // Return true if this stack map frame is assignable to target. 136 // Return true if this stack map frame is assignable to target.
137 bool is_assignable_to(const StackMapFrame* target, TRAPS) const; 137 bool is_assignable_to(const StackMapFrame* target,
138 bool is_exception_handler, TRAPS) const;
138 139
139 // Push type into stack type array. 140 // Push type into stack type array.
140 inline void push_stack(VerificationType type, TRAPS) { 141 inline void push_stack(VerificationType type, TRAPS) {
141 assert(!type.is_check(), "Must be a real type"); 142 assert(!type.is_check(), "Must be a real type");
142 if (_stack_size >= _max_stack) { 143 if (_stack_size >= _max_stack) {