mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8249768: Move static oops and NullPointerException oops from Universe into OopStorage
Make NPE oops an objArrayOop. Reviewed-by: dholmes, eosterlund
This commit is contained in:
parent
4d43cf9fc6
commit
2d8e74ddea
14 changed files with 241 additions and 219 deletions
|
@ -805,7 +805,7 @@ bool Method::needs_clinit_barrier() const {
|
|||
objArrayHandle Method::resolved_checked_exceptions_impl(Method* method, TRAPS) {
|
||||
int length = method->checked_exceptions_length();
|
||||
if (length == 0) { // common case
|
||||
return objArrayHandle(THREAD, Universe::the_empty_class_klass_array());
|
||||
return objArrayHandle(THREAD, Universe::the_empty_class_array());
|
||||
} else {
|
||||
methodHandle h_this(THREAD, method);
|
||||
objArrayOop m_oop = oopFactory::new_objArray(SystemDictionary::Class_klass(), length, CHECK_(objArrayHandle()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue