diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-08-20 17:49:39 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2003-08-20 17:49:39 +0000 |
commit | c8eb33fc60e880e0f8c75d442fa6df7660c87939 (patch) | |
tree | 1eb5468db4205cca99fba08e77bb846eac5db99a /src/main/javassist/bytecode/CodeIterator.java | |
parent | 421e4885eb233dc616bed0b48eec678f5f0d41c4 (diff) | |
download | javassist-c8eb33fc60e880e0f8c75d442fa6df7660c87939.tar.gz javassist-c8eb33fc60e880e0f8c75d442fa6df7660c87939.zip |
made to produce bytecode that HotSpot 1.3 can compile to be
efficient native code. (avoiding a bug of HotSpot?)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@34 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/main/javassist/bytecode/CodeIterator.java')
-rw-r--r-- | src/main/javassist/bytecode/CodeIterator.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/CodeIterator.java b/src/main/javassist/bytecode/CodeIterator.java index 40eb90d4..03c65da3 100644 --- a/src/main/javassist/bytecode/CodeIterator.java +++ b/src/main/javassist/bytecode/CodeIterator.java @@ -123,6 +123,8 @@ public class CodeIterator implements Opcode { /** * Writes a byte array at the index. + * + * @param code may be a zero-length array. */ public void write(byte[] code, int index) { int len = code.length; |