mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8001471: Klass::cast() does nothing
Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
This commit is contained in:
parent
a988fc0968
commit
4aad9b74e7
54 changed files with 343 additions and 351 deletions
|
@ -1417,7 +1417,7 @@ JVM_ENTRY(jobjectArray, jmm_GetLoadedClasses(JNIEnv *env))
|
|||
|
||||
for (int i = 0; i < num_classes; i++) {
|
||||
KlassHandle kh = lce.get_klass(i);
|
||||
oop mirror = Klass::cast(kh())->java_mirror();
|
||||
oop mirror = kh()->java_mirror();
|
||||
classes_ah->obj_at_put(i, mirror);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue