mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8232613: Move Object.registerNatives into HotSpot
Reviewed-by: dholmes, adinn, coleenp, lfoltan, mchung
This commit is contained in:
parent
68e5c40f6f
commit
574263a884
13 changed files with 312 additions and 136 deletions
|
@ -1972,6 +1972,10 @@ void SystemDictionary::resolve_well_known_classes(TRAPS) {
|
|||
resolve_wk_klasses_through(WK_KLASS_ENUM_NAME(Class_klass), scan, CHECK);
|
||||
}
|
||||
|
||||
assert(WK_KLASS(Object_klass) != NULL, "well-known classes should now be initialized");
|
||||
|
||||
java_lang_Object::register_natives(CHECK);
|
||||
|
||||
// Calculate offsets for String and Class classes since they are loaded and
|
||||
// can be used after this point.
|
||||
java_lang_String::compute_offsets();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue