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.
[ BUILD # : 200409170519 ] [ JDK VERSION : J2SE 1.4.2 ] Typing the first few chars in a constant that is available through an implemented interface, followed by ctrl+space often shows nothing. If I then first type the interface name and a period, then ctrl+space, all the constants show up. Nothing is logged so I can't currently give any more info.
reassgning to editor/code completion.
ClassDefinition.getFeatures doesn't return the fields of declared interface if the source is not parseable (contains error) Reassigning to java module... Simple repro case: 1. public class NewClass implements NewInterface 2. where public interface NewInterface { public static String AHOJ = ""; } 3. ensure the both class and interface are compilable 4. type A in NewClass and invoke CC. AHOJ field is avaialble in CC. 5. wait few seconds for background parser (while CC is still open) and type H - field AHOJ cannot be retrieved.
Seems like a problem in parser's error recovery. I will look at it.
Fixed. Checking in src/org/netbeans/modules/javacore/parser/ASTRepairer.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ASTRepairer.java,v <-- ASTRepairer.java new revision: 1.2; previous revision: 1.1 done