diff options
author | jrose <none@none> | 2010-06-02 22:45:42 -0700 |
---|---|---|
committer | jrose <none@none> | 2010-06-02 22:45:42 -0700 |
commit | f5c11173784f3afbc5a741bfa24860f68e2326b0 (patch) | |
tree | 8e32b99f1f669fe44fc4f518799c45b1b067e57c /src/share/vm/prims/jvmtiClassFileReconstituter.cpp | |
parent | db3885202d9095c5a296d45d3758e40bad411679 (diff) | |
parent | 90aebc75b907b0ddfeb3ef2d0576a47f3afc7656 (diff) |
Merge
Diffstat (limited to 'src/share/vm/prims/jvmtiClassFileReconstituter.cpp')
-rw-r--r-- | src/share/vm/prims/jvmtiClassFileReconstituter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp index b2d69373d..e8ac72d4a 100644 --- a/src/share/vm/prims/jvmtiClassFileReconstituter.cpp +++ b/src/share/vm/prims/jvmtiClassFileReconstituter.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2009, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2010, 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 @@ -638,7 +638,7 @@ void JvmtiClassFileReconstituter::copy_bytecodes(methodHandle mh, // length of bytecode (mnemonic + operands) address bcp = bs.bcp(); - int len = bs.next_bcp() - bcp; + int len = bs.instruction_size(); assert(len > 0, "length must be > 0"); // copy the bytecodes |