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 247469 - Strange items in code completion list
Summary: Strange items in code completion list
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Expression Language (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on: 254605
Blocks:
  Show dependency tree
 
Reported: 2014-09-25 10:59 UTC by Vladimir Riha
Modified: 2016-05-31 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (107.46 KB, text/plain)
2014-09-25 11:07 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-09-25 10:59:12 UTC
Please try following:
 - create a new JavaWeb project, all default, GF4
 - create a new JSP file
 - paste

${}

 - invoke cc inside the curly braces
=> notice that completion contains "inner classes" like CharacterName$1, ProcessBuilder$Redirect$1, ProcessBuilder$Redirect$5 or even CharacterData00 and CharacterData01. No idea what they are :)

Thank you

Product Version: NetBeans IDE Dev (Build web-main-1322-on-20140925)
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-09-25 11:07:02 UTC
Created attachment 149511 [details]
IDE log
Comment 2 Martin Fousek 2014-09-26 06:16:34 UTC
reproducible - thanks for reporting
Comment 3 Petr Hejl 2015-08-21 11:27:04 UTC
That's strange. Does not happen in 7.4, does happen in 8.0.2 and later. Obviously anonymous classes are presented in cc.
Comment 4 Petr Hejl 2015-08-21 18:46:11 UTC
It looks like this was introduced by
http://hg.netbeans.org/web-main/rev/ea21acdeb7fd
Comment 5 Petr Hejl 2015-08-21 20:32:30 UTC
Non public top level classes fixed in web-main f33a80773aca (this is not a fix for ea21acdeb7fd).
Comment 6 Quality Engineering 2015-08-23 01:23:00 UTC
Integrated into 'main-silver', will be available in build *201508230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f33a80773aca
User: Petr Hejl <phejl@netbeans.org>
Log: #247469 - Strange items in code completion list
Comment 7 Petr Hejl 2016-05-31 09:54:14 UTC
The rest seems to be fixed by changes in Java infrastructure.