93 Code_attribute ea = (Code_attribute)testMethod.attributes.get(Attribute.Code); |
93 Code_attribute ea = (Code_attribute)testMethod.attributes.get(Attribute.Code); |
94 if (testMethod == null) { |
94 if (testMethod == null) { |
95 throw new Error("Code attribute for test() method not found"); |
95 throw new Error("Code attribute for test() method not found"); |
96 } |
96 } |
97 Exception_data firstExceptionTable = null; |
97 Exception_data firstExceptionTable = null; |
98 for (int i = 0 ; i < ea.exception_table_langth; i++) { |
98 for (int i = 0 ; i < ea.exception_table_length; i++) { |
99 if (firstExceptionTable == null) { |
99 if (firstExceptionTable == null) { |
100 firstExceptionTable = ea.exception_table[i]; |
100 firstExceptionTable = ea.exception_table[i]; |
101 } |
101 } |
102 if (ea.exception_table[i].handler_pc != firstExceptionTable.handler_pc || |
102 if (ea.exception_table[i].handler_pc != firstExceptionTable.handler_pc || |
103 ea.exception_table[i].start_pc != firstExceptionTable.start_pc || |
103 ea.exception_table[i].start_pc != firstExceptionTable.start_pc || |