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 219807 - Broken code completion
Summary: Broken code completion
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Dusan Balek
URL:
Keywords: REGRESSION
: 219851 219888 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-10 10:48 UTC by Vladimir Riha
Modified: 2012-10-12 06:50 UTC (History)
4 users (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 Vladimir Riha 2012-10-10 10:48:12 UTC
I have following java source:

package test;
public class JavaApplication1 {

    public static void main(String[] args) {

       String aa;
       a|
    }
}


Now try to invoke CC at the "|". In NetBeans 7.2, it offers "aa", in 7.3 it offers only "assert" and some packages


Product Version: NetBeans IDE Dev (Build 201210100002)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b03
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Jiri Prox 2012-10-10 10:52:53 UTC
local variables, fields and methods are not provided in CC!
Comment 2 Tomas Danek 2012-10-10 10:58:27 UTC
must be broken very recently, in 20121009 works fine.
Comment 3 Dusan Balek 2012-10-10 14:21:24 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/3fd912d6e1d7
Comment 4 Jiri Prox 2012-10-11 06:03:47 UTC
*** Bug 219851 has been marked as a duplicate of this bug. ***
Comment 5 Jiri Prox 2012-10-11 09:14:44 UTC
*** Bug 219888 has been marked as a duplicate of this bug. ***
Comment 6 Quality Engineering 2012-10-12 02:04:24 UTC
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3fd912d6e1d7
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #219807: Broken code completion - fixed.
Comment 7 Vladimir Riha 2012-10-12 06:50:27 UTC
seems fine, thanks

Product Version: NetBeans IDE Dev (Build 201210120002)
Java: 1.7.0_10-ea; Java HotSpot(TM) Client VM 23.6-b03
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)