equal
deleted
inserted
replaced
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(); |