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 238369 - Missing hint "can't use generic array creation"
Summary: Missing hint "can't use generic array creation"
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-14 12:43 UTC by ssazonov
Modified: 2013-11-14 12:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ssazonov 2013-11-14 12:43:57 UTC
In Java it's impossible to initialize generic array e.g.

private ArrayList<int[]>[] states;

I think, it would be useful to provide hint saying something like "it will be impossible to initialize array in JDK..."