From 7c38ff13aacd75aea46ac744d9a4beefce3c46da Mon Sep 17 00:00:00 2001 From: jochen Date: Sat, 20 Mar 1999 00:22:18 +0000 Subject: [PATCH] fix git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@443 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/bytecode/CodeInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jode/jode/bytecode/CodeInfo.java b/jode/jode/bytecode/CodeInfo.java index 8f022ef..edbe0a5 100644 --- a/jode/jode/bytecode/CodeInfo.java +++ b/jode/jode/bytecode/CodeInfo.java @@ -48,7 +48,7 @@ public class CodeInfo extends BinaryInfo { maxLocals = input.readUnsignedShort(); int codeLength = input.readInt(); code = new byte[codeLength]; - input.read(code); + input.readFully(code); int count = 4*input.readUnsignedShort(); exceptionTable = new int[count]; for (int i = 0; i< count; i+=4) {