fixed a typo that prevented the guessing of class hierarchy

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@878 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 7d6516d066
commit ba2b6103af
  1. 5
      jode/jode/bytecode/ClassInfo.java

@ -243,7 +243,6 @@ public class ClassInfo extends BinaryInfo {
/* always read modifiers, name, super, ifaces */
{
status |= HIERARCHY;
modifiers = input.readUnsignedShort();
String className = cpool.getClassName(input.readUnsignedShort());
if (!name.equals(className))
@ -256,6 +255,7 @@ public class ClassInfo extends BinaryInfo {
interfaces[i] = ClassInfo.forName
(cpool.getClassName(input.readUnsignedShort()));
}
status |= HIERARCHY;
}
/* fields */
@ -554,9 +554,10 @@ public class ClassInfo extends BinaryInfo {
} catch (NoClassDefFoundError ex2) {
}
try {
if (clazz != null)
if (clazz != null) {
loadInfoReflection(clazz, howMuch);
return;
}
} catch (SecurityException ex2) {
GlobalOptions.err.println
(ex2+" while collecting info about class " + name + ".");

Loading…
Cancel
Save