hotspot/src/share/vm/utilities/debug.cpp
changeset 35900 d64cf9290fc4
parent 35061 be6025ebffea
child 35913 928548a43408
--- a/hotspot/src/share/vm/utilities/debug.cpp	Tue Dec 01 10:35:49 2015 +0100
+++ b/hotspot/src/share/vm/utilities/debug.cpp	Tue Jan 19 12:07:32 2016 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -461,7 +461,7 @@
 extern "C" void dump_vtable(address p) {
   Command c("dump_vtable");
   Klass* k = (Klass*)p;
-  InstanceKlass::cast(k)->vtable()->print();
+  k->vtable()->print();
 }