hotspot/src/share/vm/oops/klass.hpp
changeset 14488 ab48109f7d1b
parent 13728 882756847a04
child 14588 8ec26d2d9339
--- a/hotspot/src/share/vm/oops/klass.hpp	Fri Nov 09 22:22:53 2012 -0800
+++ b/hotspot/src/share/vm/oops/klass.hpp	Mon Nov 12 16:15:05 2012 -0500
@@ -422,12 +422,6 @@
   // 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);