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 193871 - Spring XML editor does not offer enums in autocompletion when entering map key type
Summary: Spring XML editor does not offer enums in autocompletion when entering map ke...
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-28 10:06 UTC by dkvasnicka
Modified: 2015-09-17 13:17 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 dkvasnicka 2010-12-28 10:06:26 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201011082200)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) 64-Bit Server VM 17.1-b03

When writing a map definition in Spring XML editor like this:

<map key-type=""> ... </map>

enum types are excluded from code completion and only classes are included. Enums are permitted to be Java Map keys and shloud be offered.
Comment 1 Martin Balin 2015-09-17 13:17:16 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.