mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8208999: Some use of Klass* should be replaced by InstanceKlass*
Klass::java_super() => InstanceKlass*; InstanceKlass::{local,transitive}_interfaces() => Array<InstanceKlass*>* Reviewed-by: coleenp, hseigel
This commit is contained in:
parent
01cc27f875
commit
1b2e7cbaef
32 changed files with 275 additions and 245 deletions
|
@ -73,7 +73,7 @@ class ArrayKlass: public Klass {
|
|||
// type of elements (T_OBJECT for both oop arrays and array-arrays)
|
||||
BasicType element_type() const { return layout_helper_element_type(layout_helper()); }
|
||||
|
||||
virtual Klass* java_super() const;//{ return SystemDictionary::Object_klass(); }
|
||||
virtual InstanceKlass* java_super() const;//{ return SystemDictionary::Object_klass(); }
|
||||
|
||||
// Allocation
|
||||
// Sizes points to the first dimension of the array, subsequent dimensions
|
||||
|
@ -100,7 +100,7 @@ class ArrayKlass: public Klass {
|
|||
}
|
||||
|
||||
GrowableArray<Klass*>* compute_secondary_supers(int num_extra_slots,
|
||||
Array<Klass*>* transitive_interfaces);
|
||||
Array<InstanceKlass*>* transitive_interfaces);
|
||||
bool compute_is_subtype_of(Klass* k);
|
||||
|
||||
// Sizing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue