Minor fixes

git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1408 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
hoenicke 17 years ago
parent 240de78e81
commit e10bfec001
  1. 8
      jode/jode/obfuscator/ClassIdentifier.java.in
  2. 2
      jode/jode/obfuscator/modules/ConstantAnalyzer.java.in

@ -639,6 +639,10 @@ public class ClassIdentifier extends Identifier {
public void doTransformations() {
if (GlobalOptions.verboseLevel > 0)
GlobalOptions.err.println("Transforming "+this);
/* Drop unknown attributes.
* They may be broken now anyway due to renaming.
*/
info.dropInfo(BinaryInfo.UNKNOWNATTRIBS);
info.setName(getFullAlias());
transformSuperIfaces();
transformInnerClasses();
@ -663,10 +667,6 @@ public class ClassIdentifier extends Identifier {
}
}
/* Drop unknown attributes.
* They may be broken now anyway due to renaming.
*/
info.dropInfo(info.UNKNOWN_ATTRIBUTES);
info.setFields((FieldInfo[]) newFields.toArray
(new FieldInfo[newFields.size()]));
info.setMethods((MethodInfo[]) newMethods.toArray

@ -528,7 +528,7 @@ public class ConstantAnalyzer extends SimpleAnalyzer
i++;
if (i < clName.length() && clName.charAt(i) == 'L') {
clName = clName.substring(i+1, clName.length()-1);
Main.getClassBundle().reachableClass(clName);
Main.getClassBundle().reachableClass(clName.replace('/','.'));
}
}

Loading…
Cancel
Save