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.

Bug 50592 - [40cat] Code completion does not show inherited methods
Summary: [40cat] Code completion does not show inherited methods
Status: RESOLVED DUPLICATE of bug 50591
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 10:04 UTC by pfelenda
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2004-10-19 10:04:46 UTC
Steps to reproduce:
- create two classes A and B and B inherits A
A has the method public void methodA()
B has the method public void methodB()

If you create an instance of B in other class as

B b=new B();
b.|
- show CC (character "|" is a caret)
-> The method methodA is not in CC dialog
Comment 1 Martin Roskanin 2004-10-19 10:58:28 UTC
I cannot reproduce it using latest build on WinXP, jdk142_03
Comment 2 Dusan Balek 2004-10-19 11:25:05 UTC
I can reproduce it using the latest build on Linux. Problem is that
getSuperClass() called on B returns java.lang.Object instead of A.

Reassigning to javacore for further evaluation.
Comment 3 koblin 2004-10-19 13:40:31 UTC
I dont get any code completion for superclasses or classes like
Runtime or System.
System: java 1.5, netbeans 4.0beta2, linux 2.4
Comment 4 Pavel Flaska 2004-10-19 14:14:36 UTC

*** This issue has been marked as a duplicate of 50591 ***
Comment 5 Jiri Kovalsky 2004-10-20 06:38:54 UTC
This defect was found in NetCAT 4.0 program.
Comment 6 Quality Engineering 2007-09-20 09:47:12 UTC
Reorganization of java component