simple bug fix: super is Object not null for classes loaded from reflection

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1150 379699f6-c40d-0410-875b-85095c16579e
branch_1_1
jochen 26 years ago
parent 75cc1c2c9d
commit 9da2bae535
  1. 2
      jode/jode/bytecode/ClassInfo.java.in

@ -426,7 +426,7 @@ public class ClassInfo extends BinaryInfo {
if ((howMuch & HIERARCHY) != 0) {
modifiers = clazz.getModifiers();
if (clazz.getSuperclass() == null)
superclass = null;
superclass = clazz == Object.class ? null : javaLangObject;
else
superclass = ClassInfo.forName
(clazz.getSuperclass().getName());

Loading…
Cancel
Save