mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +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
|
@ -795,8 +795,8 @@ jvmtiError VM_RedefineClasses::compare_and_normalize_class_versions(
|
|||
// technically a bit more difficult, and, more importantly, I am not sure at present that the
|
||||
// order of interfaces does not matter on the implementation level, i.e. that the VM does not
|
||||
// rely on it somewhere.
|
||||
Array<Klass*>* k_interfaces = the_class->local_interfaces();
|
||||
Array<Klass*>* k_new_interfaces = scratch_class->local_interfaces();
|
||||
Array<InstanceKlass*>* k_interfaces = the_class->local_interfaces();
|
||||
Array<InstanceKlass*>* k_new_interfaces = scratch_class->local_interfaces();
|
||||
int n_intfs = k_interfaces->length();
|
||||
if (n_intfs != k_new_interfaces->length()) {
|
||||
return JVMTI_ERROR_UNSUPPORTED_REDEFINITION_HIERARCHY_CHANGED;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue