mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -74,7 +74,7 @@ class ObjArrayKlass : public ArrayKlass {
|
|||
void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
|
||||
|
||||
// Compute protection domain
|
||||
oop protection_domain() { return Klass::cast(bottom_klass())->protection_domain(); }
|
||||
oop protection_domain() { return bottom_klass()->protection_domain(); }
|
||||
|
||||
private:
|
||||
// Either oop or narrowOop depending on UseCompressedOops.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue