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 271214 - Gui Builder is generating code that uses the diamond operator when project source level is JDK 6. This does not compile.
Summary: Gui Builder is generating code that uses the diamond operator when project so...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-01 13:25 UTC by cpholt
Modified: 2017-08-01 13:25 UTC (History)
0 users

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 cpholt 2017-08-01 13:25:21 UTC
Source/Binary format is set to JDK6 in the project properties.  I added a JList gui component to a Form Panel, and it generated this code:

jList1 = new javax.swing.JList<>();

That does not compile with java 1.6.