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 206578 - Code completion provides the same class twice
Summary: Code completion provides the same class twice
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 15:13 UTC by crazyjavahacking
Modified: 2012-01-12 16:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bug proof (33.70 KB, image/png)
2011-12-20 15:13 UTC, crazyjavahacking
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crazyjavahacking 2011-12-20 15:13:50 UTC
Created attachment 114361 [details]
bug proof

Using code completion in following code:

private static final class JavaFileObjectFromReader extends SimpleJavaFileObject {

    private JavaFileObjectFromReader(Reader javaSourceReader) {
        super(URI.create(
                "inputStream:///fakePath"), // URL has to be valid, but can be fake
                Kind.SOURCE);
    }
}

the code completion is providing the same Kind class twice
Comment 1 Dusan Balek 2012-01-11 14:08:31 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/f375d463cf1b
Comment 2 Quality Engineering 2012-01-12 16:00:36 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/f375d463cf1b
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #206578: Code completion provides the same class twice - fixed.