mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8185717: Make ModuleEntry->module() return an oop not a jobject
Change ModuleEntry::module() to return an oop and add a ModuleEntry::module_handle() that returns a jobject Reviewed-by: shade, coleenp, lfoltan
This commit is contained in:
parent
2787fd2cd7
commit
1a92a2ad53
9 changed files with 22 additions and 19 deletions
|
@ -5440,7 +5440,7 @@ void ClassFileParser::fill_instance_klass(InstanceKlass* ik, bool changed_by_loa
|
|||
assert(module_entry != NULL, "module_entry should always be set");
|
||||
|
||||
// Obtain java.lang.Module
|
||||
Handle module_handle(THREAD, JNIHandles::resolve(module_entry->module()));
|
||||
Handle module_handle(THREAD, module_entry->module());
|
||||
|
||||
// Allocate mirror and initialize static fields
|
||||
// The create_mirror() call will also call compute_modifiers()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue