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 270881

Summary: Code changes not needed
Product: ide Reporter: amurati <amurati>
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.2   
Hardware: PC   
OS: Windows 10 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description amurati 2017-06-14 16:46:13 UTC
Product Version = NetBeans IDE 8.2 (Build 201705191307)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_101
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.101-b13

Reproducibility: Happens every time

STEPS:
 I have created a JComboBox 
as 
 private javax.swing.JComboBox<Gender> jCboGenders;
    private javax.swing.JComboBox<Position> jCboPositions;
 

ACTUAL:
  but NetBeans converts them to

 private javax.swing.JComboBox<String> jCboGenders;
    private javax.swing.JComboBox<String> jCboPositions;

EXPECTED:
   private javax.swing.JComboBox<Gender> jCboGenders;
    private javax.swing.JComboBox<Position> jCboPositions;
Comment 1 amurati 2017-06-14 16:46:18 UTC
Created attachment 164541 [details]
IDE log