rename exception attributes

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1123 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent 1cfa18f43c
commit 4b8022a00e
  1. 12
      jode/jode/obfuscator/MethodIdentifier.java.in

@ -217,10 +217,20 @@ public class MethodIdentifier extends Identifier implements Opcodes {
ClassIdentifier ci = Main.getClassBundle() ClassIdentifier ci = Main.getClassBundle()
.getClassIdentifier(handlers[i].type); .getClassIdentifier(handlers[i].type);
if (ci != null) if (ci != null)
handlers[i].type = ci.getFullAlias(); handlers[i].type = ci.getFullAlias();
} }
} }
info.setBytecode(bytecode); info.setBytecode(bytecode);
} }
String[] exceptions = info.getExceptions();
if (exceptions != null) {
for (int i=0; i< exceptions.length; i++) {
ClassIdentifier ci = Main.getClassBundle()
.getClassIdentifier(exceptions[i]);
if (ci != null)
exceptions[i] = ci.getFullAlias();
}
}
} }
} }

Loading…
Cancel
Save