comparison src/share/vm/interpreter/templateInterpreter.cpp @ 2700:38fa55e5e792

7055355: JSR 292: crash while throwing WrongMethodTypeException Reviewed-by: jrose, twisti, bdelsart
author never
date Thu, 16 Jun 2011 13:46:55 -0700
parents e1162778c1c8
children 6759698e3140
comparison
equal deleted inserted replaced
10:f7986c77f72f 11:f00e3b657475
169 169
170 address TemplateInterpreter::_throw_ArrayIndexOutOfBoundsException_entry = NULL; 170 address TemplateInterpreter::_throw_ArrayIndexOutOfBoundsException_entry = NULL;
171 address TemplateInterpreter::_throw_ArrayStoreException_entry = NULL; 171 address TemplateInterpreter::_throw_ArrayStoreException_entry = NULL;
172 address TemplateInterpreter::_throw_ArithmeticException_entry = NULL; 172 address TemplateInterpreter::_throw_ArithmeticException_entry = NULL;
173 address TemplateInterpreter::_throw_ClassCastException_entry = NULL; 173 address TemplateInterpreter::_throw_ClassCastException_entry = NULL;
174 address TemplateInterpreter::_throw_WrongMethodType_entry = NULL;
175 address TemplateInterpreter::_throw_NullPointerException_entry = NULL; 174 address TemplateInterpreter::_throw_NullPointerException_entry = NULL;
176 address TemplateInterpreter::_throw_StackOverflowError_entry = NULL; 175 address TemplateInterpreter::_throw_StackOverflowError_entry = NULL;
177 address TemplateInterpreter::_throw_exception_entry = NULL; 176 address TemplateInterpreter::_throw_exception_entry = NULL;
178 177
179 #ifndef PRODUCT 178 #ifndef PRODUCT
344 { CodeletMark cm(_masm, "throw exception entrypoints"); 343 { CodeletMark cm(_masm, "throw exception entrypoints");
345 Interpreter::_throw_ArrayIndexOutOfBoundsException_entry = generate_ArrayIndexOutOfBounds_handler("java/lang/ArrayIndexOutOfBoundsException"); 344 Interpreter::_throw_ArrayIndexOutOfBoundsException_entry = generate_ArrayIndexOutOfBounds_handler("java/lang/ArrayIndexOutOfBoundsException");
346 Interpreter::_throw_ArrayStoreException_entry = generate_klass_exception_handler("java/lang/ArrayStoreException" ); 345 Interpreter::_throw_ArrayStoreException_entry = generate_klass_exception_handler("java/lang/ArrayStoreException" );
347 Interpreter::_throw_ArithmeticException_entry = generate_exception_handler("java/lang/ArithmeticException" , "/ by zero"); 346 Interpreter::_throw_ArithmeticException_entry = generate_exception_handler("java/lang/ArithmeticException" , "/ by zero");
348 Interpreter::_throw_ClassCastException_entry = generate_ClassCastException_handler(); 347 Interpreter::_throw_ClassCastException_entry = generate_ClassCastException_handler();
349 Interpreter::_throw_WrongMethodType_entry = generate_WrongMethodType_handler();
350 Interpreter::_throw_NullPointerException_entry = generate_exception_handler("java/lang/NullPointerException" , NULL ); 348 Interpreter::_throw_NullPointerException_entry = generate_exception_handler("java/lang/NullPointerException" , NULL );
351 Interpreter::_throw_StackOverflowError_entry = generate_StackOverflowError_handler(); 349 Interpreter::_throw_StackOverflowError_entry = generate_StackOverflowError_handler();
352 } 350 }
353 351
354 352