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 52634 - During JSP editing, array ("[]") return types aren't tagged properly
Summary: During JSP editing, array ("[]") return types aren't tagged properly
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 21:18 UTC by clever
Modified: 2007-11-05 13:38 UTC (History)
1 user (show)

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 clever 2004-12-17 21:18:10 UTC
The code completion popup window does not indicate
arrays in the return type attribute. For instance,
String var1 = new String("I am string man");

When I type:
var1.split|

And hit Control-Enter, the popup window shows
"String" as the return type, when it should show
"String[]" (or equiv).

Editing straight Java code, it shows the correct
return type (String[])
Comment 1 zikmund 2005-01-04 12:37:42 UTC
Reproducible in 200501031900 build of NB4.1.
BTW: javadoc shows good type, only code completion window shows wrong
one without '[]'.
Comment 2 Petr Pisl 2005-02-16 17:17:21 UTC
Martin, could you look at this. This look like a problem in your java
codecompletion. 
Comment 3 Martin Roskanin 2005-02-17 09:13:25 UTC
Yes, it seems it is editor problem
Comment 4 Dusan Balek 2005-02-25 15:32:40 UTC
Fixed in [maintrunk].

Checking in JCResultItem.java;
/cvs/java/editor/lib/src/org/netbeans/editor/ext/java/JCResultItem.java,v
 <--  JCResultItem.java
new revision: 1.3; previous revision: 1.2
done