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.
Summary: | code completion does not work with generic array creation | ||
---|---|---|---|
Product: | java | Reporter: | damian_nb <damian_nb> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
damian_nb
2007-11-10 20:29:27 UTC
Reproducible, in RC1 the problem seems to be more general - CC does not work behind the cast to generic, e.g. List s = (List<String>) /* here */ Product Version: NetBeans IDE 6.0 RC1 (Build 200711111200) Java: 1.6.0_05-ea; Java HotSpot(TM) Client VM 1.6.0_05-ea-b06 System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Fixed. Checking in JavaCompletionProvider.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v <-- JavaCompletionProvider.java new revision: 1.168; previous revision: 1.167 done verified with build 200711141200 The fix has been ported into the release60_fixes branch. Checking in JavaCompletionProvider.java; /cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v <-- JavaCompletionProvider.java new revision: 1.166.4.1; previous revision: 1.166 done Verified in 6.0 with patch1. --- Product Version: NetBeans IDE Dev (Build 20071207081312) Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03 System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb) Userdir: /space/test0 |