DO NOT REPLY [Bug 48320] New: org.apache.bcel.classfile.JavaClass.getSuperclassName() is broken for java.lang.Object
[email protected] Tue, 1 Dec 2009 08:07:41 -0800 (PST)
| Newsgroups | gmane.comp.jakarta.bcel.devel |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://issues.apache.org/bugzilla/show_bug.cgi?id=48320
Summary: org.apache.bcel.classfile.JavaClass.getSuperclassName(
) is broken for java.lang.Object
Product: BCEL
Version: 5.2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Main
AssignedTo: [email protected]
ReportedBy: [email protected]
I think that following expression should return a special value (e.g. null) or
throw an Exception:
org.apache.bcel.util.SyntheticRepository.getInstance().loadClass("java.lang.Object").getSuperclassName()
However, it simply returns "java.lang.Object". I think that this behaviour
should be corrected or documented. The http://jakarta.apache.org/bcel/apidocs/
doesn't contain any information about it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.