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 48415 - Code completion broken on field of a nested interface type
Summary: Code completion broken on field of a nested interface type
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
: 48567 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-02 18:27 UTC by Jesse Glick
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Jesse Glick 2004-09-02 18:27:33 UTC
040902 custom. Working on ParseRegen.java
(apisupport module). Changing the 'editor' field
from type EditorCookie to EditorCookie.Observable.
In a method using that field (getEditor) try to
get code completion after "editor.". Rather than
showing methods in EC.O (and EC, which it
extends), shows no completions at all; title of
popup (as much as is displayed) is
"org.openide.cookies.EditorCookie.org.openide.cookies.EditorCookie.Obse".
Getting completion on "editor.a" (should show
"addPropertyChangeListener") shows nothing, and
popup title is "Observable.a*".
Comment 1 Dusan Balek 2004-09-03 08:56:16 UTC
Probably some bug in javacore. Asking "editor" field for its type,
code completion gets UnresolvedClass$Impl  ID:
unresolved:org.openide.cookies.EditorCookie.org.openide.cookies.EditorCookie.Observable:0000000057F03A23
 MID: 13F8615B-F507-11D8-8DE7-2828F23CAA77:0000000000000B3C  OPCKG:
18BEA077-F507-11D8-8DE7-2828F23CAA77:00000000000006D2

Reassigning to Tomas for further evaluation.
Comment 2 Tomas Hurka 2004-09-07 09:13:33 UTC
Fixed in trunk.
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/
SemiPersistentElement.java,v  <--  SemiPersistentElement.java
new revision: 1.32; previous revision: 1.31
done
Comment 3 Tomas Hurka 2004-09-10 14:23:38 UTC
*** Issue 48567 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Prox 2005-07-12 10:45:40 UTC
Verified in 4.2 (200507110943)
Comment 5 Quality Engineering 2007-09-20 09:44:07 UTC
Reorganization of java component