Fixed previous patch.

git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1295 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
hoenicke 24 years ago
parent 344faa9265
commit 4aebd22542
  1. 4
      jode/jode/jvm/CodeVerifier.java.in

@ -244,8 +244,8 @@ public class CodeVerifier implements Opcodes {
if (dimensions > 0) { if (dimensions > 0) {
if (dimensions == 1) if (dimensions == 1)
return tObject; return tObject;
StringBuffer result = new StringBuffer(dimensions + 18); StringBuffer result = new StringBuffer(dimensions + 17);
for (int i=0; i< dimensions; i++) for (int i=0; i < dimensions - 1; i++)
result.append("["); result.append("[");
result.append("Ljava/lang/Object;"); result.append("Ljava/lang/Object;");
return tType(result.toString()); return tType(result.toString());

Loading…
Cancel
Save