hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp
changeset 14481 0918b0419ce8
parent 14480 06c1743f1285
parent 14391 df0a1573d5bd
child 17294 a1a03f4c1cab
--- a/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp	Wed Oct 31 16:20:03 2012 -0700
+++ b/hotspot/src/share/vm/prims/jvmtiClassFileReconstituter.cpp	Thu Nov 08 16:48:01 2012 -0800
@@ -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");