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: | CC offers anonymous inner classes | ||
---|---|---|---|
Product: | java | Reporter: | Jan Horvath <jhorvath> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | rohanranade |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Macintosh | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jan Horvath
2008-02-20 14:42:45 UTC
After investigation, found that the anonymous inner classes are being incorrectly marked with TOP_LEVEL in their NestingKind. If the same class (org.apache.commons.logging.LogFactory) is in put in the project's source path (after removing dependency on commons-logging library), the anonymous classes are not shown. For debugging, please look at org.netbeans.modules.spring.beans.completion.CompletionManager:636 I have a possible fix, but it is quite dangerous, so I do not want to put it into 6.1. May be workarounded in the completion provider see org.netbeans.modules.editor.java.LazyTypeCompletionItem.isAnnonInner for details. Maybe now is the right time to try the fix? Probably later. NetBeans.org Migration: changing resolution from LATER to WONTFIX |