From 4b8022a00e5c2c1ea1c431c49263ad17f7e9f1cb Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 22 Jul 1999 17:36:10 +0000 Subject: [PATCH] rename exception attributes git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1123 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/obfuscator/MethodIdentifier.java.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/jode/jode/obfuscator/MethodIdentifier.java.in b/jode/jode/obfuscator/MethodIdentifier.java.in index 73d6552..904705c 100644 --- a/jode/jode/obfuscator/MethodIdentifier.java.in +++ b/jode/jode/obfuscator/MethodIdentifier.java.in @@ -217,10 +217,20 @@ public class MethodIdentifier extends Identifier implements Opcodes { ClassIdentifier ci = Main.getClassBundle() .getClassIdentifier(handlers[i].type); if (ci != null) - handlers[i].type = ci.getFullAlias(); + handlers[i].type = ci.getFullAlias(); } } 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(); + } + } } }