diff src/share/vm/services/classLoadingService.hpp @ 6983:070d523b96a7

8001471: Klass::cast() does nothing Summary: Remove function Klass::cast() and calls to it. Reviewed-by: dholmes, coleenp
author hseigel
date Mon, 12 Nov 2012 16:15:05 -0500
parents fb19af007ffc
children db9981fd3124
line wrap: on
line diff
--- a/src/share/vm/services/classLoadingService.hpp	Fri Nov 09 22:22:53 2012 -0800
+++ b/src/share/vm/services/classLoadingService.hpp	Mon Nov 12 16:15:05 2012 -0500
@@ -135,7 +135,7 @@
     // The spec is unclear at this point to count array klasses or not
     // and also indirect creation of array of super class and secondaries
     //
-    // for (Klass* l = k; l != NULL; l = Klass::cast(l)->array_klass_or_null()) {
+    // for (Klass* l = k; l != NULL; l = l->array_klass_or_null()) {
     //  KlassHandle h(_current_thread, l);
     //  _loaded_classes->append(h);
     // }