mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +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
|
@ -422,12 +422,6 @@ class Klass : public Metadata {
|
|||
// if not, throw either an Error or an Exception.
|
||||
virtual void check_valid_for_instantiation(bool throwError, TRAPS);
|
||||
|
||||
// Casting
|
||||
static Klass* cast(Klass* k) {
|
||||
assert(k->is_klass(), "cast to Klass");
|
||||
return k;
|
||||
}
|
||||
|
||||
// array copying
|
||||
virtual void copy_array(arrayOop s, int src_pos, arrayOop d, int dst_pos, int length, TRAPS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue