hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
changeset 14391 df0a1573d5bd
parent 13863 3a6dfc8fdfd1
child 14481 0918b0419ce8
--- a/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp	Thu Oct 04 14:55:57 2012 +0200
+++ b/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp	Tue Nov 06 15:09:37 2012 -0500
@@ -753,7 +753,7 @@
 
   unsigned char* p = bytecodes;
   Bytecodes::Code code;
-  bool is_rewritten = InstanceKlass::cast(mh->method_holder())->is_rewritten();
+  bool is_rewritten = mh->method_holder()->is_rewritten();
 
   while ((code = bs.next()) >= 0) {
     assert(Bytecodes::is_java_code(code), "sanity check");