src/hotspot/share/oops/klass.cpp
changeset 50601 3fbae7b9ddb5
parent 50569 60d66a249db6
child 50735 2f2af62dfac7
equal deleted inserted replaced
50600:8e17fffa0a4b 50601:3fbae7b9ddb5
   140             : vmSymbols::java_lang_InstantiationException(), external_name());
   140             : vmSymbols::java_lang_InstantiationException(), external_name());
   141 }
   141 }
   142 
   142 
   143 
   143 
   144 void Klass::copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS) {
   144 void Klass::copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS) {
   145   THROW(vmSymbols::java_lang_ArrayStoreException());
   145   ResourceMark rm(THREAD);
       
   146   assert(s != NULL, "Throw NPE!");
       
   147   THROW_MSG(vmSymbols::java_lang_ArrayStoreException(),
       
   148             err_msg("arraycopy: source type %s is not an array", s->klass()->external_name()));
   146 }
   149 }
   147 
   150 
   148 
   151 
   149 void Klass::initialize(TRAPS) {
   152 void Klass::initialize(TRAPS) {
   150   ShouldNotReachHere();
   153   ShouldNotReachHere();