mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
This commit is contained in:
parent
6c0af1575c
commit
98449cf2c2
64 changed files with 361 additions and 443 deletions
|
@ -217,8 +217,8 @@ void Klass::initialize_supers(klassOop k, TRAPS) {
|
|||
set_super(NULL);
|
||||
oop_store_without_check((oop*) &_primary_supers[0], (oop) this->as_klassOop());
|
||||
assert(super_depth() == 0, "Object must already be initialized properly");
|
||||
} else if (k != super() || k == SystemDictionary::object_klass()) {
|
||||
assert(super() == NULL || super() == SystemDictionary::object_klass(),
|
||||
} else if (k != super() || k == SystemDictionary::Object_klass()) {
|
||||
assert(super() == NULL || super() == SystemDictionary::Object_klass(),
|
||||
"initialize this only once to a non-trivial value");
|
||||
set_super(k);
|
||||
Klass* sup = k->klass_part();
|
||||
|
@ -370,7 +370,7 @@ void Klass::append_to_sibling_list() {
|
|||
void Klass::remove_from_sibling_list() {
|
||||
// remove receiver from sibling list
|
||||
instanceKlass* super = superklass();
|
||||
assert(super != NULL || as_klassOop() == SystemDictionary::object_klass(), "should have super");
|
||||
assert(super != NULL || as_klassOop() == SystemDictionary::Object_klass(), "should have super");
|
||||
if (super == NULL) return; // special case: class Object
|
||||
if (super->subklass() == this) {
|
||||
// first subklass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue