This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | ClassElement's getSuperClass() method behaves inconsistently on java.lang.Object class | ||
---|---|---|---|
Product: | java | Reporter: | Louise Avila <louise> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows 3.1/NT | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Louise Avila
2002-08-06 01:10:05 UTC
Sorry, this is (currently) as designed: superClass property reports what is explicitly written in either class file or java file. If you had a .java file with public class Foo extends Object { } its ClassElement.getSuperclass() would return j.l.Object as well. In .class files, the reference is always explicit. My colleagues are designing a better model for source manipulation, so I changed the issue to an enhancement request for them Fixed in 4.0. |